From 437a9735fe6823ea0896972397f999ce3259f042 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Sun, 17 May 2026 22:03:03 +0700 Subject: [PATCH] fix: recursively exclude nested node_modules and .git in vendor workspace package from scp --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 84af3f9..5ccb2db 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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