This commit is contained in:
parent
523063007f
commit
961c8a7737
1 changed files with 0 additions and 5 deletions
|
@ -82,11 +82,6 @@ steps:
|
||||||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||||
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
||||||
- chmod 600 ~/.ssh/deploy_key
|
- chmod 600 ~/.ssh/deploy_key
|
||||||
- |
|
|
||||||
ssh -o StrictHostKeyChecking=no \
|
|
||||||
-i ~/.ssh/deploy_key \
|
|
||||||
"$SSH_USER@$SSH_HOST" \
|
|
||||||
ls -l /
|
|
||||||
- |
|
- |
|
||||||
ssh -o StrictHostKeyChecking=no \
|
ssh -o StrictHostKeyChecking=no \
|
||||||
-i ~/.ssh/deploy_key \
|
-i ~/.ssh/deploy_key \
|
||||||
|
|
Loading…
Reference in a new issue