mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
ci: fix deploy branch check
This commit is contained in:
parent
a57428002f
commit
debd50f482
@ -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…
x
Reference in New Issue
Block a user