with:
name: book
path: book/book
- # Commit and push all changed files.
- # Must only affect files that are listed in "paths-ignore".
- - name: Git commit build artifacts
- # Only run on main branch push (e.g. pull request merge).
- if: github.event_name == 'push'
- run: |
- git checkout -b deploy
- git config --global user.name "Deployer"
- git config --global user.email "username@users.noreply.github.com"
- git add --force book/book
- git commit -m "Render book"
- git push --set-upstream --force-with-lease origin deploy
formatter:
runs-on: ubuntu-latest