Fix deploy step.

This commit is contained in:
LukeMathWalker 2024-05-24 18:20:45 +02:00
parent 4401743807
commit 0b15b96ab0
1 changed files with 2 additions and 2 deletions

View File

@ -43,10 +43,10 @@ jobs:
# Only run on main branch push (e.g. pull request merge). # Only run on main branch push (e.g. pull request merge).
if: github.event_name == 'push' if: github.event_name == 'push'
run: | run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.name "Deployer"
git config --global user.email "username@users.noreply.github.com" git config --global user.email "username@users.noreply.github.com"
git add --force book/book git add --force book/book
git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git commit -m "Render book"
git push --set-upstream --force-with-lease origin deploy git push --set-upstream --force-with-lease origin deploy
formatter: formatter: