This commit is contained in:
parent
795681f6cd
commit
4a7f32038e
|
@ -34,6 +34,12 @@ steps:
|
||||||
- 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 /data/public $${SSH_USER}@$${SSH_HOST}:docker/nginx/website
|
- scp -o "StrictHostKeyChecking no" -P $${SSH_PORT} -r /data/public $${SSH_USER}@$${SSH_HOST}:docker/nginx/website
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
|
|
Loading…
Reference in a new issue