Checkout branch in before_script

This commit is contained in:
Caspar Jungbacker 2023-04-17 12:44:22 +02:00
parent 10d1b3d12e
commit 26d844a4df

View file

@ -31,5 +31,8 @@ push-html:
stage: deploy
only:
- main
script:
before_script:
- git fetch origin publish-html
- git checkout publish-html
script:
- git status