mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
ci: fix deploy branch check
This commit is contained in:
parent
a57428002f
commit
debd50f482
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ tasks:
|
|||
npm install --include=dev
|
||||
npm run build
|
||||
- deploy: |
|
||||
[ "$(git branch --show-current)" = "master" ] || complete-build
|
||||
cd gamja/dist
|
||||
[ "$(git branch --show-current)" = "master" ] || complete-build
|
||||
rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \
|
||||
--delete --delete-excluded . deploy@emersion.fr:/srv/http/gamja
|
||||
|
|
Loading…
Reference in a new issue