Skip to content

Commit 1600261

Browse files
committed
Fixed ssh file configured in the wrong location
1 parent 1f53980 commit 1600261

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ jobs:
6262
6363
- name: Copy Ansible files to droplet
6464
run: |
65-
scp ~/.ssh/ansible_droplet.pem \
66-
-o StrictHostKeyChecking=no \
67-
-r .ansible/ \
65+
scp -o StrictHostKeyChecking=no \
66+
-r ./ansible/ \
6867
${{ secrets.ANSIBLE_DROPLET_USER }}@${{ secrets.ANSIBLE_DROPLET_HOST }}:~/ansible/
6968
7069
- name: Copy EC2 SSH key to droplet

0 commit comments

Comments
 (0)