forked from ethereum/remix-ide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ethereum#651 from ethereum/origin/updateghpages
deploy to yann300 githubpages
- Loading branch information
Showing
3 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ env: | |
global: | ||
- ENCRYPTION_LABEL1="b5c2730599da" | ||
- ENCRYPTION_LABEL2="85f76a180658" | ||
- ENCRYPTION_LABEL3="1b1c118ea62d" | ||
- COMMIT_AUTHOR_EMAIL="[email protected]" | ||
- COMMIT_AUTHOR="Travis CI" | ||
- FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json README.md soljson.js" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,18 +26,33 @@ ENCRYPTED_IV_VAR2="encrypted_${ENCRYPTION_LABEL2}_iv" | |
ENCRYPTED_KEY2=${!ENCRYPTED_KEY_VAR2} | ||
ENCRYPTED_IV2=${!ENCRYPTED_IV_VAR2} | ||
|
||
touch deploy_key | ||
touch deploy_key_remix-live | ||
chmod 600 deploy_key deploy_key_remix-live | ||
openssl aes-256-cbc -K $ENCRYPTED_KEY1 -iv $ENCRYPTED_IV1 -in ci/deploy_key.enc -out deploy_key -d | ||
openssl aes-256-cbc -K $ENCRYPTED_KEY2 -iv $ENCRYPTED_IV2 -in ci/deploy_key_remix-live.enc -out deploy_key_remix-live -d | ||
|
||
|
||
# touch deploy_key | ||
# touch deploy_key_remix-live | ||
# chmod 600 deploy_key deploy_key_remix-live | ||
# openssl aes-256-cbc -K $ENCRYPTED_KEY1 -iv $ENCRYPTED_IV1 -in ci/deploy_key.enc -out deploy_key -d | ||
# openssl aes-256-cbc -K $ENCRYPTED_KEY2 -iv $ENCRYPTED_IV2 -in ci/deploy_key_remix-live.enc -out deploy_key_remix-live -d | ||
# eval `ssh-agent -s` | ||
# ssh-add deploy_key | ||
# git push -f [email protected]:ethereum/browser-solidity.git gh-pages | ||
# ssh-add -D | ||
|
||
# echo -n "remix.ethereum.org" > CNAME | ||
# git add CNAME | ||
# git commit --amend -m "Built website from {$SHA}." | ||
# ssh-add deploy_key_remix-live | ||
# git push -f [email protected]:ethereum/remix-live.git gh-pages | ||
|
||
# deploy yann300 gh-pages | ||
ENCRYPTED_KEY_VAR3="encrypted_${ENCRYPTION_LABEL3}_key" | ||
ENCRYPTED_IV_VAR3="encrypted_${ENCRYPTION_LABEL3}_iv" | ||
ENCRYPTED_KEY3=${!ENCRYPTED_KEY_VAR3} | ||
ENCRYPTED_IV3=${!ENCRYPTED_IV_VAR3} | ||
|
||
touch deploy_key_yann300_remix | ||
chmod 600 deploy_key_yann300_remix | ||
openssl aes-256-cbc -K $ENCRYPTED_KEY3 -iv $ENCRYPTED_IV3 -in ci/deploy_key_yann300_remix.enc -out deploy_key_yann300_remix -d | ||
eval `ssh-agent -s` | ||
ssh-add deploy_key | ||
git push -f [email protected]:ethereum/browser-solidity.git gh-pages | ||
ssh-add -D | ||
|
||
echo -n "remix.ethereum.org" > CNAME | ||
git add CNAME | ||
git commit --amend -m "Built website from {$SHA}." | ||
ssh-add deploy_key_remix-live | ||
git push -f [email protected]:ethereum/remix-live.git gh-pages | ||
ssh-add deploy_key_yann300_remix | ||
git push -f [email protected]:yann300/remix.git gh-pages |
Binary file not shown.