dev #5
@@ -131,7 +131,6 @@ steps:
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-keyscan -H 139.155.109.62 >> ~/.ssh/known_hosts
|
||||
- echo "Pre-deployment checks"
|
||||
- ssh root@139.155.109.62 "echo 'Server connection OK'"
|
||||
- ssh root@139.155.109.62 "df -h | grep -E '/$|/home'"
|
||||
|
||||
Reference in New Issue
Block a user