Skip to content

Commit d017df7

Browse files
another try at pushing to github from travis
1 parent 6ec9d77 commit d017df7

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ rebel.xml
2828
target
2929
out
3030
build
31-
32-
.travis/deploy_key

.travis/after_deploy.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ increment_version_to_next_snapshot ()
2222
if [ ! -z "$TRAVIS_TAG" ]
2323
then
2424
# Get the deploy key by using Travis's stored variables to decrypt deploy_key.enc
25-
openssl aes-256-cbc -K $encrypted_541ac7960f0d_key -iv $encrypted_541ac7960f0d_iv -in .travis/deploy_key.enc -out .travis/deploy_key -d
26-
chmod 600 .travis/deploy_key
25+
openssl aes-256-cbc \
26+
-K $encrypted_dd04a63e1379_key \
27+
-iv $encrypted_dd04a63e1379_iv \
28+
-in .travis/github_deploy_key.enc \
29+
-out .travis/github_deploy_key -d
30+
chmod 600 .travis/github_deploy_key
2731
eval `ssh-agent -s`
28-
ssh-add .travis/deploy_key
32+
ssh-add .travis/github_deploy_key
2933
git config --global user.name "$GIT_NAME"
3034
git config --global user.email "$GIT_EMAIL"
3135

.travis/deploy_key.enc

-1.64 KB
Binary file not shown.

.travis/github_deploy_key.enc

3.17 KB
Binary file not shown.

0 commit comments

Comments
 (0)