This commit is contained in:
parent
fa924bcb88
commit
2125510a4d
|
@ -28,7 +28,7 @@ steps:
|
||||||
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
- ssh -o "StrictHostKeyChecking no" -p $${SSH_PORT}
|
- ssh -o "StrictHostKeyChecking no" -p $${SSH_PORT}
|
||||||
"rm -rf docker/nginx/website/public/*"
|
$${SSH_USER}@$${SSH_HOST} "rm -rf docker/nginx/website/public/*"
|
||||||
- scp -o "StrictHostKeyChecking no" -P $${SSH_PORT} -r
|
- scp -o "StrictHostKeyChecking no" -P $${SSH_PORT} -r
|
||||||
./public $${SSH_USER}@$${SSH_HOST}:docker/nginx/website
|
./public $${SSH_USER}@$${SSH_HOST}:docker/nginx/website
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue