This commit is contained in:
parent
6324b12c33
commit
726554826a
2 changed files with 2 additions and 3 deletions
|
@ -18,8 +18,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 AAAAC3NzaC1lZDI1NTE5AAAAIO+RKFYjD8UjqhfOHFHNyijkbGzC4fJEIIhrBwHj+FsQ" >> ~/.ssh/known_hosts
|
- echo "mzhang.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+RKFYjD8UjqhfOHFHNyijkbGzC4fJEIIhrBwHj+FsQ" >> known_hosts
|
||||||
- rsync -azrP -e "ssh -i SSH_SECRET_KEY" dist/ blogDeploy@mzhang.io:/home/blogDeploy/public
|
- rsync -azrP -e "ssh -i SSH_SECRET_KEY -o UserKnownHostsFile=known_hosts" dist/ blogDeploy@mzhang.io:/home/blogDeploy/public
|
||||||
secrets: [SSH_SECRET_KEY]
|
secrets: [SSH_SECRET_KEY]
|
||||||
when:
|
when:
|
||||||
- branch: master
|
- branch: master
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ dockerTools
|
{ dockerTools
|
||||||
, buildEnv
|
|
||||||
, agda-bin
|
, agda-bin
|
||||||
, corepack
|
, corepack
|
||||||
, rsync
|
, rsync
|
||||||
|
|
Loading…
Reference in a new issue