From 88c857d9dd48bc1992daed97d93694d9208e59a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szekeres=20Ba=CC=81lint?= Date: Sat, 24 Feb 2018 15:57:10 +0100 Subject: [PATCH] replace COMMIT_HASH in every html --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ab7ec05..b6216dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,4 @@ deploy: on: branch: master 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/$TRAVIS_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 && find . -type f -name '*.html' -exec sed -i -e \"s/COMMIT_HASH/$TRAVIS_COMMIT/\" {} \;'"