Force to include "build" for deployment.

pull/1/head
chriseth 9 years ago
parent da31a6a8ef
commit 1f81c5dcc2
  1. 2
      .travis.yml
  2. 3
      ci/deploy_from_travis.sh

@ -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"

@ -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"

Loading…
Cancel
Save