diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 99dfb84..0c5d6e9 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -39,4 +39,6 @@ jobs: git config user.name "CI" git config user.email "ci@noreply.libre-chip.org" git commit -n -m "rendered version of $hash" - git push -f origin rendered \ No newline at end of file + [[ "${{ github.server_url }}" =~ ^"https://"(.*)$ ]] + git remote set-url origin "https://x-access-token:${{ github.token }}@${BASH_REMATCH[1]}/${{ github.repository }}" + git push -f origin rendered