From d59edaff5cee28c5060869c45f4d22073c442f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szekeres=20Ba=CC=81lint?= Date: Sun, 1 Jul 2018 17:12:20 +0200 Subject: [PATCH] travis deploy script fix --- .travis_deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis_deploy.sh b/.travis_deploy.sh index f618eb8..3d21903 100755 --- a/.travis_deploy.sh +++ b/.travis_deploy.sh @@ -1,5 +1,6 @@ #!/bin/bash +npm ci --production npm run build:prod find public -type f -name "*.html" -exec sed -i -e "s/COMMIT_HASH/$TRAVIS_COMMIT/" {} \; rsync \ @@ -12,7 +13,7 @@ rsync \ --recursive \ --stats \ --verbose \ + --exclude="/.git*" \ --exclude="/node_modules*" \ - --exclude="/cypress/videos*" \ ./ \ www-data@nginxconfig.io:/var/www/nginxconfig.io/