TRAVIS_COMMIT fix

pull/12/head
Szekeres Bálint 2018-02-18 14:04:48 +01:00
parent fc21e3f87c
commit bc1f9291b2
1 changed files with 1 additions and 1 deletions

View File

@ -13,4 +13,4 @@ deploy:
on: on:
branch: master branch: master
provider: script provider: script
script: ssh -q -l root nginxconfig.io "sudo -u www-data -H sh -c 'cd /var/www/nginxconfig.io; git reset --hard && git pull origin master && sed -i -e \"s/COMMIT_HASH/$BITBUCKET_COMMIT/\" public/index.html'" script: ssh -q -l root nginxconfig.io "sudo -u www-data -H sh -c 'cd /var/www/nginxconfig.io; git reset --hard && git pull origin master && sed -i -e \"s/COMMIT_HASH/$TRAVIS_COMMIT/\" public/index.html'"