WIP|BUGFIX: Allow ssh auth for github sync

* Use variable as in all other scripts.
This commit is contained in:
Daniel Siepmann 2017-04-11 20:21:20 +02:00
parent 7d4fec959c
commit 5ec3d2eea2
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -16,7 +16,7 @@ sync:github:
- apk add --no-cache openssh-client git
# SSH deploy key
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ssh-add <(echo "${SSH_PRIVATE_KEY}")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script: