forked from CringeStudios/gamja
ci: fix deploy branch check again, exclude config.json
This commit is contained in:
parent
debd50f482
commit
3f2553291f
@ -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…
x
Reference in New Issue
Block a user