Skip to content

Commit 4418456

Browse files
committed
Only store a single encrypted file
1 parent 9c3911b commit 4418456

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

tool/deploy.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@
33
# license that can be found in the LICENSE file or at
44
# https://opensource.org/licenses/MIT.
55

6-
echo decrypting npmrc
7-
openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \
8-
-in tool/encrypted/npmrc.enc -out ~/.npmrc -d
6+
openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv -in tool/encrypted/credentials.tar.enc \
7+
-out credentials.tar -d
98

109
mkdir -p ~/.pub-cache
11-
echo decrypting pub credentials
12-
openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \
13-
-in tool/encrypted/pub-credentials.json.enc -out ~/.pub-cache/credentials.json -d
14-
15-
echo decrypting git credentials
16-
openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \
17-
-in tool/encrypted/git-credentials.enc -out ~/.git-credentials -d
10+
tar xfO credentials.tar npm > ~/.npmrc
11+
tar xfO credentials.tar pub > ~/.pub-cache/credentials.json
12+
tar xfO credentials.tar git > ~/.git-credentials
1813

1914
function travis_cmd() {
2015
echo "\$ $@"

tool/encrypted/credentials.tar.enc

10 KB
Binary file not shown.

tool/encrypted/npmrc.enc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c��i�P���ڋg����^�a�5��˧Ap����!~�f\ྉ.����\��u%����cD� �U4��)O
1+
~͐^M�ʷ��:˯�2<9M��_���j� 'V��a��2�N�uh��N��O�!���*}�ކ�#x�e��\c�9��
32 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)