We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81803c commit 115b87aCopy full SHA for 115b87a
1 file changed
.github/workflows/deploy.yml
@@ -89,8 +89,8 @@ jobs:
89
run: |
90
SSH="ssh -i ~/.ssh/deploy_key root@${{ env.SERVER_IP }}"
91
92
- # Sync build to server (exclude .env so it persists across deploys)
93
- rsync -azP --delete --exclude='.env' \
+ # Sync build to server (exclude .env and node_modules so they persist)
+ rsync -azP --delete --exclude='.env' --exclude='node_modules' \
94
-e "ssh -i ~/.ssh/deploy_key" \
95
build/ root@${{ env.SERVER_IP }}:${{ env.APP_DIR }}/
96
0 commit comments