From dd025bd1854ae97060e3bd2d01122783d8c40559 Mon Sep 17 00:00:00 2001 From: spinline Date: Fri, 6 Feb 2026 17:57:25 +0300 Subject: [PATCH] fix: use RELEASE_TOKEN secret (GITEA_ prefix reserved), add .runner to gitignore --- .gitea/workflows/build-mips.yml | 6 +++--- .gitignore | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-mips.yml b/.gitea/workflows/build-mips.yml index 9cc3c1c..d686bb1 100644 --- a/.gitea/workflows/build-mips.yml +++ b/.gitea/workflows/build-mips.yml @@ -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 diff --git a/.gitignore b/.gitignore index b0878cd..22f4e18 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ result.xml **/node_modules frontend/dist backend.log +.runner