diff --git a/.forgejo/workflows/pages.yaml b/.forgejo/workflows/pages.yaml index ef54f57..9cdd04a 100644 --- a/.forgejo/workflows/pages.yaml +++ b/.forgejo/workflows/pages.yaml @@ -6,7 +6,8 @@ jobs: container: image: alpine:latest env: - GH_TOKEN: ${{ secrets.PAGES_TOKEN }} + GIT_USER: ayakael + GIT_PASS: ${{ secrets.PAGES_TOKEN }} steps: - name: Environment setup run: | @@ -30,7 +31,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 config credential.helper "!f() { echo \"username=${GIT_USER}\\npassword=${GIT_PASS}\"; }; f" git add . git commit -m "Update" git push