ci: fix deploy skip

This commit is contained in:
Simon Ser 2021-12-16 23:14:10 +01:00
parent 43f1329fb0
commit 4704e0f12f

View file

@ -13,7 +13,7 @@ tasks:
npm run build npm run build
- deploy: | - deploy: |
cd gamja/dist cd gamja/dist
[ "$(git rev-parse HEAD)" = "$(git rev-parse master)" ] || complete-build [ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ] || complete-build
rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \ rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \
--delete --exclude=config.json \ --delete --exclude=config.json \
. deploy@emersion.fr:/srv/http/gamja . deploy@emersion.fr:/srv/http/gamja