fix(ci): use GITEA_SECRET for sync token
This commit is contained in:
parent
fb817595e0
commit
b8dad1c0a5
1 changed files with 2 additions and 2 deletions
4
.github/workflows/sync-to-gitea.yml
vendored
4
.github/workflows/sync-to-gitea.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
|
||||
- name: Preflight token check
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_SECRET }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
echo "actor=${GITHUB_ACTOR} repo=${GITHUB_REPOSITORY} ref=${GITHUB_REF_NAME}"
|
||||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
|
||||
- name: Sync to Gitea
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_SECRET }}
|
||||
GITEA_USERNAME: ${{ secrets.GITEA_USERNAME }}
|
||||
REPO: ${{ github.event.repository.name }}
|
||||
BRANCH: ${{ github.ref_name }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue