forgejo: attempt to force git push to use GH_TOKEN
All checks were successful
/ render (push) Successful in 34s

This commit is contained in:
IkiWiki 2024-08-25 20:07:23 -04:00
parent b1368b598f
commit ab95a26b68
Signed by untrusted user who does not match committer: forge
GPG key ID: D62A472A4AA7D541

View file

@ -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