forgejo-ci: trust that auth information is stored
All checks were successful
/ render (push) Successful in 34s

This commit is contained in:
IkiWiki 2024-08-25 18:55:51 -04:00
parent 0adb8057c1
commit 0d91a06722
Signed by untrusted user who does not match committer: forge
GPG key ID: D62A472A4AA7D541

View file

@ -24,8 +24,10 @@ jobs:
- name: Website upload
run: |
cd public
git config user.name ${{ vars.PAGES_USER }}
git config user.password "${{ secrets.PAGES_TOKEN }}
git commit -m 'Update'
git remote set-url origin ${{ github.server_url }}.${{ github.repository }}
date > generated.txt
# 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 add .
git commit -m "Update"
git push