From 50d9743cdd586ba91a033732aa06444b09bb5e1b Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Sat, 11 Nov 2023 21:41:00 +0300 Subject: [PATCH] correct gitea api auth --- tag.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tag.sh b/tag.sh index 4b8a8d7..4286d83 100755 --- a/tag.sh +++ b/tag.sh @@ -2,9 +2,8 @@ set -eux export VERSION=`date +'%Y-%m-%d %R:%S'` 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 'Authorization: '"$GITEA_API_KEY"'' \ -H 'Content-Type: application/json' \ -d '{ "message": "'"$VERSION"': daily release from ci",