mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-07 12:58:47 +08:00
TRAVIS_COMMIT fix
This commit is contained in:
@@ -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'"
|
||||||
|
|||||||
Reference in New Issue
Block a user