mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-10 07:11:52 +08:00
added .travis_deploy.sh
This commit is contained in:
@@ -25,9 +25,6 @@ before_deploy:
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script:
|
||||
- npm run build:prod
|
||||
- find public -type f -name "*.html" -exec sed -i -e "s/COMMIT_HASH/$TRAVIS_COMMIT/" {} \;
|
||||
- rsync --checksum --delete --delete-after --force --ignore-errors --links --recursive --stats --verbose --exclude="/node_modules*" --exclude="/cypress/videos*" ./ www-data@nginxconfig.io:/var/www/nginxconfig.io/
|
||||
script: bash .travis_deploy.sh
|
||||
on:
|
||||
branch: master
|
||||
|
Reference in New Issue
Block a user