travis deploy script fix

pull/23/head
Szekeres Bálint 2018-07-01 17:22:57 +02:00
parent d59edaff5c
commit e5c0ea91a3
2 changed files with 2 additions and 1 deletions

View File

@ -26,5 +26,6 @@ before_deploy:
deploy: deploy:
provider: script provider: script
script: bash .travis_deploy.sh script: bash .travis_deploy.sh
skip_cleanup: true
on: on:
branch: master branch: master

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
npm ci --production rm public/assets/css/app.min.css*
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 \