This commit is contained in:
parent
002da03bd9
commit
12382d17e2
|
@ -27,7 +27,7 @@ steps:
|
||||||
- mkdir ~/.ssh
|
- mkdir ~/.ssh
|
||||||
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
- 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:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue