We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef56f3c commit 140d0f0Copy full SHA for 140d0f0
.github/workflows/main.yml
@@ -35,13 +35,13 @@ jobs:
35
interact
36
"
37
38
- - name: Add Azure VM to known_hosts
+ - name: Add VM to known_hosts
39
run: |
40
ssh-keyscan -H ${{ secrets.VM_HOST }} >> ~/.ssh/known_hosts
41
42
- name: Synchronize Code with VM Using rsync
43
env:
44
- RSYNC_RSH: "ssh"
+ RSYNC_RSH: "ssh -i ~/.ssh/deployment_key" # Explicitly specify the SSH key
45
46
rsync -avz --checksum --exclude='.git' ./ ${{ secrets.VM_USER }}@${{ secrets.VM_HOST }}:/home/dev/
47
0 commit comments