mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-28 02:25:48 -05:00
ci: fix deploy branch check again, exclude config.json
This commit is contained in:
parent
debd50f482
commit
3f2553291f
1 changed files with 3 additions and 2 deletions
|
@ -13,6 +13,7 @@ tasks:
|
|||
npm run build
|
||||
- deploy: |
|
||||
cd gamja/dist
|
||||
[ "$(git branch --show-current)" = "master" ] || complete-build
|
||||
[ "$(git rev-parse HEAD)" = "$(git rev-parse master)" ] || complete-build
|
||||
rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \
|
||||
--delete --delete-excluded . deploy@emersion.fr:/srv/http/gamja
|
||||
--delete --exclude=config.json \
|
||||
. deploy@emersion.fr:/srv/http/gamja
|
||||
|
|
Loading…
Reference in a new issue