This commit is contained in:
@@ -23,6 +23,9 @@ jobs:
|
||||
ssh-keyscan -p 22 "rchou.net" >> ~/.ssh/known_hosts
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
- name: Test SSH
|
||||
run: ssh -i ~/.ssh/id_ed25519 deploy@rchou.net "echo 'SSH works!'"
|
||||
|
||||
- name: Rsync to server
|
||||
env:
|
||||
SSH_TARGET_DIR: /home/cab/docker/websites/portfolio-src
|
||||
|
||||
Reference in New Issue
Block a user