fix: exclude node_modules, .git, and giant assets from scp to prevent transfer timeout
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
host: ${{ secrets.VPS_HOST }}
|
host: ${{ secrets.VPS_HOST }}
|
||||||
username: ${{ secrets.VPS_USERNAME }}
|
username: ${{ secrets.VPS_USERNAME }}
|
||||||
key: ${{ secrets.VPS_SSH_KEY }}
|
key: ${{ secrets.VPS_SSH_KEY }}
|
||||||
source: "."
|
source: ".,!node_modules,!.git,!.github,!recordings,!dist,!.env,!*.db,!*.db-shm,!*.db-wal,!test_out.nut"
|
||||||
target: "/opt/imphenbot"
|
target: "/opt/imphenbot"
|
||||||
rm: false
|
rm: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user