Use NAPCAT_BUILD secret in release workflow

Update .github/workflows/release.yml to set GH_TOKEN from secrets.NAPCAT_BUILD instead of secrets.GH_TOKEN when publishing the release hash. This switches the workflow to use the new/rotated secret name for release publishing.
This commit is contained in:
手瓜一十雪 committed 2026-03-04 21:50:16 +08:00
1 parent 46b0532f84
commit 572ab802b9
1 file changed
+1 -1
+1 -1
View File
@@ -480,7 +480,7 @@ jobs:
- name: Publish release hash
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.NAPCAT_BUILD }}
run: |
set -euo pipefail
VERSION="${GITHUB_REF#refs/tags/}"