forgejo: attempt to force git push to use GH_TOKEN
All checks were successful
/ render (push) Successful in 34s
All checks were successful
/ render (push) Successful in 34s
This commit is contained in:
parent
b1368b598f
commit
ab95a26b68
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ jobs:
|
|||
container:
|
||||
image: alpine:latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAGES_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.PAGES_TOKEN }}
|
||||
steps:
|
||||
- name: Environment setup
|
||||
run: |
|
||||
|
@ -30,6 +30,7 @@ jobs:
|
|||
# Note: the following account information will not work on GHES
|
||||
git config user.name "forgejo-actions[bot]"
|
||||
git config user.email "dev@ayakael.net"
|
||||
git config user.password $GH_TOKEN
|
||||
git add .
|
||||
git commit -m "Update"
|
||||
git push
|
||||
|
|
Loading…
Reference in a new issue