Commit 1f81c5dc authored by chriseth's avatar chriseth

Force to include "build" for deployment.

parent da31a6a8
...@@ -14,6 +14,6 @@ env: ...@@ -14,6 +14,6 @@ env:
- COMMIT_AUTHOR_EMAIL="chris@ethereum.org" - COMMIT_AUTHOR_EMAIL="chris@ethereum.org"
- COMMIT_AUTHOR="Travis CI" - COMMIT_AUTHOR="Travis CI"
- PUSH_REPO="git@github.com:ethereum/browser-solidity.git" - 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"
...@@ -10,7 +10,8 @@ git checkout --orphan gh-pages ...@@ -10,7 +10,8 @@ git checkout --orphan gh-pages
git rm --cached -r . git rm --cached -r .
echo "# Automatic build" > README.md echo "# Automatic build" > README.md
echo "Built website from {$SHA}. See https://github.com/ethereum/browser-solidity/ for details." >> 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}." git commit -m "Built website from {$SHA}."
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key" ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment