Skip to content

Commit

Permalink
fix: update tar command to compress the entire current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhJae committed Sep 2, 2024
1 parent a40fcc0 commit a189809
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 @@ -40,7 +40,7 @@ jobs:
run: ssh-keyscan -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts

- name: Compress Files
run: tar -czf deploy.tar.gz ./*
run: tar -czf deploy.tar.gz .

- name: Copy Tarball via SCP
run: scp deploy.tar.gz ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:${{ secrets.SERVER_DEPLOY_PATH }}
Expand Down

0 comments on commit a189809

Please sign in to comment.