Update permissions on token
All checks were successful
Build Release Binaries / build-and-release (push) Successful in 10m22s
All checks were successful
Build Release Binaries / build-and-release (push) Successful in 10m22s
This commit is contained in:
@@ -68,13 +68,13 @@ jobs:
|
|||||||
- name: Ensure release exists (create if missing)
|
- name: Ensure release exists (create if missing)
|
||||||
id: create_release
|
id: create_release
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.CI_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.CI_TOKEN2 }}
|
||||||
TAG: ${{ github.ref_name }}
|
TAG: ${{ github.ref_name }}
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
API_BASE: ${{ env.API_BASE }}
|
API_BASE: ${{ env.API_BASE }}
|
||||||
run: |
|
run: |
|
||||||
if [ -z "$GITEA_TOKEN" ]; then
|
if [ -z "$GITEA_TOKEN" ]; then
|
||||||
echo "ERROR: Missing CI_TOKEN secret"
|
echo "ERROR: Missing CI_TOKEN2 secret"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ jobs:
|
|||||||
# -------------------------------------------------------------
|
# -------------------------------------------------------------
|
||||||
- name: Upload binaries to Gitea release
|
- name: Upload binaries to Gitea release
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.CI_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.CI_TOKEN2 }}
|
||||||
RELEASE_ID: ${{ steps.create_release.outputs.release_id }}
|
RELEASE_ID: ${{ steps.create_release.outputs.release_id }}
|
||||||
API_BASE: ${{ env.API_BASE }}
|
API_BASE: ${{ env.API_BASE }}
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
|
|||||||
Reference in New Issue
Block a user