From 60c77e0df6d6be43ace2cba0ccaa1f115336ce27 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 2 Aug 2017 15:14:57 +0200 Subject: [PATCH] deploy to yann300 githubpages --- .travis.yml | 1 + ci/deploy_from_travis.sh | 43 +++++++++++++++++++++----------- ci/deploy_key_yann300_remix.enc | Bin 0 -> 3328 bytes 3 files changed, 30 insertions(+), 14 deletions(-) create mode 100644 ci/deploy_key_yann300_remix.enc 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 0000000000000000000000000000000000000000..37205909acdd9419d4c81c6b0b331ae6edb25f10 GIT binary patch literal 3328 zcmV+b4gd1Z`4%EwbG)lT-5v-^^=L#=QqZ%L4>z(sUX&&JOl;;_@CS z*R&d4O@fx64l7yO=OZcrb?q=4zt!2I!7p~>nW1luJSzc9XxAU<3f6$}&em(@PZ~QI z1YJfiG4SE3vZJh&*ztka!B6~q;9pZ;AV8hsw8e~EyIdUS7D%7Nr*r=kVZB3GtSoc~ z%^1~@0Xq&}XXyws=Y+Gm_~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