diff --git a/.build.yml b/.build.yml index 139bb3f..7c27ccb 100644 --- a/.build.yml +++ b/.build.yml @@ -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