We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4255448 commit 3dbeca3Copy full SHA for 3dbeca3
publish-site.sh
@@ -1,9 +1,9 @@
1
#!/bin/bash -ex
2
3
if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_REPO_SLUG}" == "foundweekends/conscript" ]]; then
4
- eval "$(ssh-agent -s)" #start the ssh agent
+ echo -e "Host github.com\n\tStrictHostKeyChecking no\nIdentityFile ~/.ssh/deploy_rsa\n" >> ~/.ssh/config
5
openssl aes-256-cbc -k "$SERVER_KEY" -in deploy_key.enc -d -a -out deploy_rsa
6
chmod 600 deploy_rsa
7
- ssh-add deploy_rsa
+ cp deploy_rsa ~/.ssh/
8
sbt pushSiteIfChanged
9
fi
0 commit comments