Skip to content

Commit

Permalink
Merge pull request #166 from AnkanSaha/dev
Browse files Browse the repository at this point in the history
Refactor SCP command in deployment script to use find command for cop…
  • Loading branch information
AnkanSaha authored Apr 7, 2024
2 parents 91c5caf + 836ba1b commit 33a3cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Copy code to VM
run: |
ls -a # Lists all files and directories in the current directory
scp -o StrictHostKeyChecking=no -i private_key.pem -r ${{ secrets.USERNAME }}@${{ secrets.VM_IP }}:~/App # Copies all files and directories to the home directory of the user on VM
scp -o StrictHostKeyChecking=no -i private_key.pem -r ./* ${{ secrets.USERNAME }}@${{ secrets.VM_IP }}:~/App # Copies all files and directories to the home directory of the user on VM
- name: Clean Up
run: |
Expand Down

0 comments on commit 33a3cdb

Please sign in to comment.