correct gitea api auth
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel 2023-11-11 21:41:00 +03:00
parent d6499b65c9
commit 50d9743cdd

3
tag.sh
View File

@ -2,9 +2,8 @@
set -eux set -eux
export VERSION=`date +'%Y-%m-%d %R:%S'` export VERSION=`date +'%Y-%m-%d %R:%S'`
curl -X 'POST' \ curl -X 'POST' \
'https://gitea.neur0tx.site/api/v1/repos/xray-addons/geoip-geosite-with-ru-blocklist/tags' \ 'https://gitea.neur0tx.site/api/v1/repos/xray-addons/geoip-geosite-with-ru-blocklist/tags?token='"$GITEA_API_KEY"'' \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H 'Authorization: '"$GITEA_API_KEY"'' \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d '{ -d '{
"message": "'"$VERSION"': daily release from ci", "message": "'"$VERSION"': daily release from ci",