fix deploy
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Michael Zhang 2024-06-26 20:44:17 -05:00
parent 6324b12c33
commit 726554826a
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -1,5 +1,4 @@
{ dockerTools { dockerTools
, buildEnv
, agda-bin , agda-bin
, corepack , corepack
, rsync , rsync