Skip to content

Commit db56cf0

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

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,13 @@ jobs:
6262
6363
- name: Copy Ansible files to droplet
6464
run: |
65+
ssh -o StrictHostKeyChecking=no \
66+
${{ secrets.ANSIBLE_DROPLET_USER }}@${{ secrets.ANSIBLE_DROPLET_HOST }} \
67+
"mkdir -p ~/ansible"
6568
scp -o StrictHostKeyChecking=no \
66-
-r ./ansible/ \
69+
.ansible/ansible.cfg \
70+
.ansible/inventory_aws_ec2.yaml \
71+
.ansible/deploy-docker-new-user.yaml \
6772
${{ secrets.ANSIBLE_DROPLET_USER }}@${{ secrets.ANSIBLE_DROPLET_HOST }}:~/ansible/
6873
6974
- name: Copy EC2 SSH key to droplet

0 commit comments

Comments
 (0)