From 1f81c5dcc251be74bf77dcd4c6b4f176420eebc4 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 27 May 2016 21:24:13 +0200 Subject: [PATCH] Force to include "build" for deployment. --- .travis.yml | 2 +- ci/deploy_from_travis.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5c9104a16..e1c473b8da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,6 @@ env: - COMMIT_AUTHOR_EMAIL="chris@ethereum.org" - COMMIT_AUTHOR="Travis CI" - PUSH_REPO="git@github.com:ethereum/browser-solidity.git" - - FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json worker.js" + - FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json worker.js README.md" diff --git a/ci/deploy_from_travis.sh b/ci/deploy_from_travis.sh index c595213988..27f888768a 100755 --- a/ci/deploy_from_travis.sh +++ b/ci/deploy_from_travis.sh @@ -10,7 +10,8 @@ git checkout --orphan gh-pages git rm --cached -r . echo "# Automatic build" > README.md echo "Built website from {$SHA}. See https://github.com/ethereum/browser-solidity/ for details." >> README.md -git add $FILES_TO_PACKAGE README.md +# -f is needed because "build" is part of .gitignore +git add -f $FILES_TO_PACKAGE git commit -m "Built website from {$SHA}." ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"