Create branch first.
This commit is contained in:
parent
5a08035d83
commit
1a452230ed
|
@ -45,6 +45,7 @@ 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 checkout -b deploy
|
||||||
git config --global user.name "Deployer"
|
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
|
||||||
|
|
Loading…
Reference in New Issue