Rename mirror secret to MIRROR_TOKEN (GITHUB_ prefix is reserved)
Forgejo/gitea rejects user secret names starting with GITHUB_.
This commit is contained in:
parent
11e27a0723
commit
8838cc35f2
1 changed files with 1 additions and 1 deletions
|
|
@ -17,5 +17,5 @@ jobs:
|
||||||
# Mirror only branches and tags (not refs/pull/*, which GitHub rejects);
|
# Mirror only branches and tags (not refs/pull/*, which GitHub rejects);
|
||||||
# --prune deletes GitHub refs that no longer exist on Forgejo.
|
# --prune deletes GitHub refs that no longer exist on Forgejo.
|
||||||
git push --prune \
|
git push --prune \
|
||||||
"https://x-access-token:${{ secrets.GITHUB_MIRROR_TOKEN }}@github.com/Breadway/bos.git" \
|
"https://x-access-token:${{ secrets.MIRROR_TOKEN }}@github.com/Breadway/bos.git" \
|
||||||
'+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*'
|
'+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue