We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbd54da commit 7bafff1Copy full SHA for 7bafff1
.travis.yml
@@ -10,6 +10,13 @@ node_js:
10
- '10'
11
- '12'
12
script: npm run validate
13
+before_install:
14
+ # See: https://github.com/semantic-release/semantic-release/blob/master/docs/03-recipes/git-auth-ssh-keys.md
15
+ - openssl aes-256-cbc -K $encrypted_c1ac1ba52366_key -iv $encrypted_c1ac1ba52366_iv -in github-deploy-key.enc -out /tmp/github-deploy-key -d
16
+ - chmod 600 /tmp/github-deploy-key
17
+ - echo 'echo ${SSH_PASSPHRASE}' > /tmp/askpass && chmod +x /tmp/askpass
18
+ - eval "$(ssh-agent -s)"
19
+ - DISPLAY=":0.0" SSH_ASKPASS="/tmp/askpass" setsid ssh-add /tmp/github-deploy-key < /dev/null
20
after_success: node src travis-after-success
21
branches:
22
only:
github-deploy-key.enc
3.36 KB
0 commit comments