WIP|BUGFIX: Allow ssh auth for github sync
* Use variable as in all other scripts.
This commit is contained in:
parent
7d4fec959c
commit
5ec3d2eea2
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ sync:github:
|
||||||
- apk add --no-cache openssh-client git
|
- apk add --no-cache openssh-client git
|
||||||
# SSH deploy key
|
# SSH deploy key
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
- ssh-add <(echo "${SSH_PRIVATE_KEY}")
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue