Skip to content

Commit ff7f02f

Browse files
Merge pull request #98 from ReactionMechanismGenerator/decrypt
move deploy key decryption into deploy.sh
2 parents fcff60e + 9fdb718 commit ff7f02f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ before_install:
2020
- export PATH=/home/travis/anaconda/bin:$PATH
2121
# Update conda itself
2222
- conda update --yes conda
23-
- openssl aes-256-cbc -K $encrypted_02f40ca58e32_key -iv $encrypted_02f40ca58e32_iv -in deploy_key.enc -out deploy_key -d
2423
- cd ..
2524
# this is the RMG-database project, so need to fetch RMG-Py
2625
- git clone https://github.com/ReactionMechanismGenerator/RMG-Py.git
@@ -36,4 +35,6 @@ install:
3635
script:
3736
- make test-database
3837
- cd $TRAVIS_BUILD_DIR
39-
- bash ./deploy.sh
38+
39+
after_success:
40+
- bash ./deploy.sh

deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -e # exit with nonzero exit code if anything fails
44

5+
openssl aes-256-cbc -K $encrypted_02f40ca58e32_key -iv $encrypted_02f40ca58e32_iv -in deploy_key.enc -out deploy_key -d
6+
57
echo 'Travis Build Dir: '$TRAVIS_BUILD_DIR
68

79
if $TRAVIS_PULL_REQUEST

0 commit comments

Comments
 (0)