Create branch first.
authorLukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com>
Fri, 24 May 2024 16:26:59 +0000 (18:26 +0200)
committerLukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com>
Fri, 24 May 2024 16:26:59 +0000 (18:26 +0200)
.github/workflows/ci.yml

index ac24169..f3cbc7f 100644 (file)
@@ -45,6 +45,7 @@ jobs:
         # 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