fix: recursively exclude nested node_modules and .git in vendor workspace package from scp

This commit is contained in:
MythEclipse
2026-05-17 22:03:03 +07:00
parent 781b1da2dd
commit 437a9735fe
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USERNAME }}
key: ${{ secrets.VPS_SSH_KEY }}
source: ".,!node_modules,!.git,!.github,!recordings,!dist,!.env,!*.db,!*.db-shm,!*.db-wal,!test_out.nut"
source: ".,!**/node_modules,!**/node_modules/**,!**/.git,!**/.git/**,!node_modules,!vendor/discord.js-selfbot-v13/node_modules,!.git,!vendor/discord.js-selfbot-v13/.git,!.github,!.github/**,!recordings,!recordings/**,!dist,!dist/**,!.env,!*.db,!*.db-shm,!*.db-wal,!test_out.nut"
target: "/opt/imphenbot"
rm: false