fix: exclude __pycache__ and .github from rsync
All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 24s
All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 24s
This commit is contained in:
parent
cf6f68c31c
commit
66cabe2fec
1 changed files with 2 additions and 0 deletions
|
|
@ -37,10 +37,12 @@ jobs:
|
|||
rsync -av --delete \
|
||||
-e "ssh -i /root/.ssh/id_deploy -o StrictHostKeyChecking=no" \
|
||||
--exclude='.git' \
|
||||
--exclude='.github' \
|
||||
--exclude='.env' \
|
||||
--exclude='data/' \
|
||||
--exclude='screenshots/' \
|
||||
--exclude='logs/' \
|
||||
--exclude='__pycache__/' \
|
||||
./ Elewyn@192.168.1.208:${{ env.DEPLOY_PATH }}/
|
||||
|
||||
- name: Restart bot on NAS
|
||||
|
|
|
|||
Loading…
Reference in a new issue