diff --git a/.travis.yml b/.travis.yml index 7dc600a8bd..4b8b20890a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ env: global: - ENCRYPTION_LABEL1="b5c2730599da" - ENCRYPTION_LABEL2="85f76a180658" + - ENCRYPTION_LABEL3="5b002fd193f7" - COMMIT_AUTHOR_EMAIL="chris@ethereum.org" - COMMIT_AUTHOR="Travis CI" - FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json README.md soljson.js" diff --git a/ci/deploy_from_travis.sh b/ci/deploy_from_travis.sh index 74f4af139c..ae8172e392 100755 --- a/ci/deploy_from_travis.sh +++ b/ci/deploy_from_travis.sh @@ -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 git@github.com: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 git@github.com: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 git@github.com: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 git@github.com:ethereum/remix-live.git gh-pages +ssh-add deploy_key_yann300_remix +git push -f git@github.com:yann300/remix.git gh-pages diff --git a/ci/deploy_key_yann300_remix.enc b/ci/deploy_key_yann300_remix.enc new file mode 100644 index 0000000000..37205909ac Binary files /dev/null and b/ci/deploy_key_yann300_remix.enc differ