Skip to content

Commit

Permalink
oper: trocando scp por rsync para ignorar algumas pastas
Browse files Browse the repository at this point in the history
  • Loading branch information
iagocpv committed Oct 23, 2024
1 parent 49f9d47 commit 1d4c8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployEC2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Transfer code to AWS instance
run: |
scp -o StrictHostKeyChecking=no -i key.pem -r ./ ubuntu@98.80.44.121:/home/ubuntu/tupan-back
rsync -av --exclude='.git' --exclude='.github' --exclude='.husky' -e "ssh -o StrictHostKeyChecking=no -i key.pem" ./ ubuntu@98.80.44.121:/home/ubuntu/tupan-back
- name: Stop running containers
run: |
Expand Down

0 comments on commit 1d4c8f0

Please sign in to comment.