travis deploy script fix
parent
d59edaff5c
commit
e5c0ea91a3
|
@ -26,5 +26,6 @@ before_deploy:
|
|||
deploy:
|
||||
provider: script
|
||||
script: bash .travis_deploy.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
npm ci --production
|
||||
rm public/assets/css/app.min.css*
|
||||
npm run build:prod
|
||||
find public -type f -name "*.html" -exec sed -i -e "s/COMMIT_HASH/$TRAVIS_COMMIT/" {} \;
|
||||
rsync \
|
||||
|
|
Loading…
Reference in New Issue