fix(release): use actual GITEA_TOKEN instead of hardcoded 'Bearer ***'
The publish-release step had 'Authorization: Bearer ***' which would never work. Replaced with 'Authorization: token ' so it pulls from the workflow env var correctly.
This commit is contained in:
1 parent
065df61e8a
commit
dc87dabbc3
1 file changed
+1
-1
@@ -195,7 +195,7 @@ jobs:
|
|||||||
GITEA_BASE: https://git.westerntechnologies.duckdns.org
|
GITEA_BASE: https://git.westerntechnologies.duckdns.org
|
||||||
run: |
|
run: |
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Authorization: Bearer $GITEA_TOKEN" \
|
-H "Authorization: token $GITEA_TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{\"tag_name\": \"$TAG\", \"name\": \"$TAG\", \"body\": \"Automated release build for $TAG\"}" \
|
-d "{\"tag_name\": \"$TAG\", \"name\": \"$TAG\", \"body\": \"Automated release build for $TAG\"}" \
|
||||||
"$GITEA_BASE/api/v1/repos/kfj001/kryz-go-flutter/releases"
|
"$GITEA_BASE/api/v1/repos/kfj001/kryz-go-flutter/releases"
|
||||||
Reference in new issue
Block a user