diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0ea35f1..adb67e3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,7 +30,7 @@ jobs: - name: Copy code to VM run: | - sudo 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 + sudo 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: |