Skip to content

Commit

Permalink
deploy to remix_live_alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Feb 22, 2018
1 parent 268b858 commit d384430
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions ci/deploy_from_travis_master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ zip -r remix-$SHA.zip $FILES_TO_PACKAGE
git add -f $FILES_TO_PACKAGE remix-$SHA.zip
git commit -m "Built website from {$SHA}."

# 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
touch deploy_key_remix-live-alpha
chmod 600 deploy_key deploy_key_remix-live-alpha

openssl aes-256-cbc -K $ENCRYPTED_KEY3 -iv $ENCRYPTED_IV3 -in ci/deploy_key_remix-live-alpha.enc -out deploy_key_remix-live-alpha -d
eval `ssh-agent -s`




ssh-add deploy_key_yann300_remix
git push -f [email protected]:yann300/remix.git gh-pages
git push -f [email protected]:ethereum/remix-live-alpha.git gh-pages

0 comments on commit d384430

Please sign in to comment.