fix: use GITEATOKEN secret (GITEA_TOKEN is reserved by Gitea)
All checks were successful
CI — Test & Build / Test & Build (push) Successful in 52s

This commit is contained in:
2026-03-06 22:44:49 +00:00
parent 1239e5a90e
commit a4580cd892

View File

@@ -56,7 +56,7 @@ jobs:
run: | run: |
RESPONSE=$(curl -s -w "\n%{http_code}" -X PUT \ RESPONSE=$(curl -s -w "\n%{http_code}" -X PUT \
"${{ gitea.server_url }}/api/packages/kibin/generic/lexai-extension/${PACKAGE_VERSION}/lexai-chrome-mv3-${PACKAGE_VERSION}.zip" \ "${{ gitea.server_url }}/api/packages/kibin/generic/lexai-extension/${PACKAGE_VERSION}/lexai-chrome-mv3-${PACKAGE_VERSION}.zip" \
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ -H "Authorization: token ${{ secrets.GITEATOKEN }}" \
-T "/tmp/lexai-chrome-mv3-${PACKAGE_VERSION}.zip") -T "/tmp/lexai-chrome-mv3-${PACKAGE_VERSION}.zip")
HTTP_CODE=$(echo "$RESPONSE" | tail -1) HTTP_CODE=$(echo "$RESPONSE" | tail -1)
BODY=$(echo "$RESPONSE" | head -1) BODY=$(echo "$RESPONSE" | head -1)