merge: chore/cleanup-remove-bloat-and-secrets into main
This commit is contained in:
commit
bde2f3a97d
1173 changed files with 437609 additions and 0 deletions
6
.deploy-cleanup.sh
Executable file
6
.deploy-cleanup.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Run at start of every deploy to prevent stale bytecode
|
||||
echo "Cleaning stale .pyc cache..."
|
||||
find /root/backend -name "*.pyc" -delete
|
||||
find /root/backend -name "__pycache__" -type d -empty -delete
|
||||
echo "Done. $(date)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue