Add ssh
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Michael Zhang 2023-02-04 01:11:28 -06:00
parent 86a217d5f0
commit ac77b241fb

View file

@ -7,7 +7,7 @@ pipeline:
deploy: deploy:
image: alpine image: alpine
commands: commands:
- apk add rsync - apk add rsync ssh
- echo "$SSH_SECRET_KEY" > SSH_SECRET_KEY - echo "$SSH_SECRET_KEY" > SSH_SECRET_KEY
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "mzhang.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBzBZ+QmM4EO3Fwc1ZcvWV2IY9VF04T0H9brorGj9Udp" >> ~/.ssh/known_hosts - echo "mzhang.io ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBzBZ+QmM4EO3Fwc1ZcvWV2IY9VF04T0H9brorGj9Udp" >> ~/.ssh/known_hosts