fix path
This commit is contained in:
parent
1ac326f0c1
commit
320e100c11
1 changed files with 3 additions and 3 deletions
|
@ -5,10 +5,10 @@ before_script:
|
||||||
#- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
|
#- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p /root/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 /root/.ssh
|
||||||
- echo "$SSH_KNOWN_HOSTS" >> /root/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS" >> /root/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
- chmod 644 /root/.ssh/known_hosts
|
||||||
|
|
||||||
ping:
|
ping:
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue