travis deploy script fix
parent
0443b92c88
commit
d59edaff5c
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
npm ci --production
|
||||||
npm run build:prod
|
npm run build:prod
|
||||||
find public -type f -name "*.html" -exec sed -i -e "s/COMMIT_HASH/$TRAVIS_COMMIT/" {} \;
|
find public -type f -name "*.html" -exec sed -i -e "s/COMMIT_HASH/$TRAVIS_COMMIT/" {} \;
|
||||||
rsync \
|
rsync \
|
||||||
|
@ -12,7 +13,7 @@ rsync \
|
||||||
--recursive \
|
--recursive \
|
||||||
--stats \
|
--stats \
|
||||||
--verbose \
|
--verbose \
|
||||||
|
--exclude="/.git*" \
|
||||||
--exclude="/node_modules*" \
|
--exclude="/node_modules*" \
|
||||||
--exclude="/cypress/videos*" \
|
|
||||||
./ \
|
./ \
|
||||||
www-data@nginxconfig.io:/var/www/nginxconfig.io/
|
www-data@nginxconfig.io:/var/www/nginxconfig.io/
|
||||||
|
|
Loading…
Reference in New Issue