This commit is contained in:
parent
1cb392dbae
commit
bc8cb94181
2 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ steps:
|
||||||
- echo "$${SSH_SECRET_KEY}" > SSH_SECRET_KEY
|
- echo "$${SSH_SECRET_KEY}" > SSH_SECRET_KEY
|
||||||
- chmod 600 SSH_SECRET_KEY
|
- chmod 600 SSH_SECRET_KEY
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "mzhang.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBzBZ+QmM4EO3Fwc1ZcvWV2IY9VF04T0H9brorGj9Udp" >> ~/.ssh/known_hosts
|
- echo "mzhang.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+RKFYjD8UjqhfOHFHNyijkbGzC4fJEIIhrBwHj+FsQ" >> ~/.ssh/known_hosts
|
||||||
- rsync -azrP -e "ssh -i SSH_SECRET_KEY" dist/ sourcehutBuilds@mzhang.io:/mnt/storage/svcdata/blog-public
|
- rsync -azrP -e "ssh -i SSH_SECRET_KEY" dist/ blogDeploy@mzhang.io:/home/blogDeploy/public
|
||||||
secrets: [SSH_SECRET_KEY]
|
secrets: [SSH_SECRET_KEY]
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
Loading…
Reference in a new issue