fix: use RELEASE_TOKEN secret (GITEA_ prefix reserved), add .runner to gitignore
Some checks failed
Build MIPS Binary / build (push) Failing after 45s

This commit is contained in:
spinline
2026-02-06 17:57:25 +03:00
parent 6554c4248c
commit dd025bd185
2 changed files with 4 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ jobs:
- name: Create Release
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
TAG="${{ steps.tag.outputs.release_tag }}"
REPO="admin/vibetorrent"
@@ -81,7 +81,7 @@ jobs:
# Create release
RELEASE_RESPONSE=$(curl -s -X POST "${API_URL}/repos/${REPO}/releases" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Authorization: token ${RELEASE_TOKEN}" \
-H "Content-Type: application/json" \
-d "{
\"tag_name\": \"${TAG}\",
@@ -102,7 +102,7 @@ jobs:
# Upload binary as release asset
curl -s -X POST "${API_URL}/repos/${REPO}/releases/${RELEASE_ID}/assets?name=vibetorrent-mips" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Authorization: token ${RELEASE_TOKEN}" \
-H "Content-Type: application/octet-stream" \
--data-binary @target/mips-unknown-linux-musl/release/vibetorrent-mips

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@ result.xml
**/node_modules
frontend/dist
backend.log
.runner