Skip to content

Commit 7277eb2

Browse files
committed
ci(deploy): use token authentication
The deploy key setup seems to be causing issues, change to the token authentication already in use.
1 parent 0b60188 commit 7277eb2

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ coverage/*
66
.gitignore
77
.npmignore
88
.travis.yml
9-
git_deploy_key.enc

.travis.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,7 @@ jobs:
1515
- commitlint-travis
1616

1717
- stage: release
18-
before_deploy:
19-
# Decrypt the git_deploy_key.enc key into /tmp/git_deploy_key
20-
- openssl aes-256-cbc -K $encrypted_5690340abf23_key -iv $encrypted_5690340abf23_iv -in git_deploy_key.enc -out /tmp/git_deploy_key -d
21-
# Make sure only the current user can read the private key
22-
- chmod 600 /tmp/git_deploy_key
23-
# Create a script to return the passphrase environment variable to ssh-add
24-
- echo 'echo ${SSH_PASSPHRASE}' > /tmp/askpass && chmod +x /tmp/askpass
25-
# Start the authentication agent
26-
- eval "$(ssh-agent -s)"
27-
# Add the key to the authentication agent
28-
- DISPLAY=":0.0" SSH_ASKPASS="/tmp/askpass" setsid ssh-add /tmp/git_deploy_key </dev/null
18+
script: skip
2919
deploy:
3020
provider: script
3121
skip_cleanup: true

git_deploy_key.enc

-3.25 KB
Binary file not shown.

0 commit comments

Comments
 (0)