diff --git a/tool/deploy.sh b/tool/deploy.sh index 3dcb99e5..5715fe6e 100755 --- a/tool/deploy.sh +++ b/tool/deploy.sh @@ -3,18 +3,13 @@ # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. -echo decrypting npmrc -openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \ - -in tool/encrypted/npmrc.enc -out ~/.npmrc -d +openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv -in tool/encrypted/credentials.tar.enc \ + -out credentials.tar -d mkdir -p ~/.pub-cache -echo decrypting pub credentials -openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \ - -in tool/encrypted/pub-credentials.json.enc -out ~/.pub-cache/credentials.json -d - -echo decrypting git credentials -openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \ - -in tool/encrypted/git-credentials.enc -out ~/.git-credentials -d +tar xfO credentials.tar npm > ~/.npmrc +tar xfO credentials.tar pub > ~/.pub-cache/credentials.json +tar xfO credentials.tar git > ~/.git-credentials function travis_cmd() { echo "\$ $@" diff --git a/tool/encrypted/credentials.tar.enc b/tool/encrypted/credentials.tar.enc new file mode 100644 index 00000000..dae1ccb1 Binary files /dev/null and b/tool/encrypted/credentials.tar.enc differ diff --git a/tool/encrypted/npmrc.enc b/tool/encrypted/npmrc.enc index fe55fa7a..4ea654c0 100644 --- a/tool/encrypted/npmrc.enc +++ b/tool/encrypted/npmrc.enc @@ -1 +1 @@ -ciPڋg^a5˧Ap! ~f\ྉ.\u%cD U4)O \ No newline at end of file +~͐^Mʷ:˯2<9M_j 'Va2NuhNO!*}ކ#xe\c9 \ No newline at end of file diff --git a/tool/encrypted/pub-credentials.json.enc b/tool/encrypted/pub-credentials.json.enc index de50fb1f..b50f91cc 100644 Binary files a/tool/encrypted/pub-credentials.json.enc and b/tool/encrypted/pub-credentials.json.enc differ