Merge pull request #7 from ethereum/deploy

Configure push repo from outside.
pull/1/head
chriseth 9 years ago
commit c86d8f0155
  1. 1
      .travis.yml
  2. 4
      ci/deploy_from_travis.sh

@ -13,6 +13,7 @@ env:
- ENCRYPTION_LABEL: "b5c2730599da" - ENCRYPTION_LABEL: "b5c2730599da"
- 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"
- 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"

@ -2,8 +2,6 @@
set -e set -e
REPO=`git config remote.origin.url`
SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:}
SHA=`git rev-parse --verify HEAD` SHA=`git rev-parse --verify HEAD`
git config user.name "$COMMIT_AUTHOR" git config user.name "$COMMIT_AUTHOR"
@ -22,4 +20,4 @@ chmod 600 deploy_key
eval `ssh-agent -s` eval `ssh-agent -s`
ssh-add deploy_key ssh-add deploy_key
git push -f "${SSH_REPO}" gh-pages git push -f "${PUSH_REPO}" gh-pages

Loading…
Cancel
Save