Skip to content

Commit f4e0ef3

Browse files
committed
ci/cd: fixing
1 parent 70c7ca8 commit f4e0ef3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/deploy-to-vps.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: docker/setup-buildx-action@v3
1919

2020
- name: Deploy with rsync
21-
run: rsync -avz . ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/home/ec2-user/
21+
run: rsync -avz . ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }}:/home/ec2-user/
2222

2323
- name: install utilities
2424
run: |
@@ -50,6 +50,3 @@ jobs:
5050

5151
- name: Adding Known Hosts
5252
run: ssh-keyscan -H ${{ secrets.VPS_HOST }} >> ~/.ssh/known_hosts
53-
54-
- name: Deploy with rsync
55-
run: rsync -avz .images/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/home/ec2-user/

0 commit comments

Comments
 (0)