mirror of
https://git.sr.ht/~emersion/gamja
synced 2025-03-31 09:09:54 -04: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…
Add table
Reference in a new issue