Skip to content

Commit

Permalink
chore: Encrypt multiple ci files
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lohse committed Jan 31, 2019
1 parent b807a45 commit f4352bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ cache:
directories:
- node_modules
before_install:
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then openssl aes-256-cbc -K $encrypted_b1733cb50f7f_key
-iv $encrypted_b1733cb50f7f_iv -in id_rsa_travis_downcloud.enc -out /tmp/id_rsa_travis_downcloud
-d; fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then openssl aes-256-cbc -K $encrypted_b1733cb50f7f_key -iv $encrypted_b1733cb50f7f_iv -in ci-files.tar.enc -out /tmp/ci-files.tar -d; fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then tar xvf /tmp/ci-files.tar -C /tmp; fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then eval "$(ssh-agent -s)"; fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then chmod 600 /tmp/id_rsa_travis_downcloud;
fi
Expand Down
Binary file added ci-files.tar.enc
Binary file not shown.

0 comments on commit f4352bf

Please sign in to comment.