deploy
All checks were successful
Deploy / deploy-staging (push) Successful in 24s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-20 01:50:07 +02:00
parent 3f81f7a670
commit 2cdd14c400
210 changed files with 55853 additions and 36 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env sh
set -eu
APP_ENV="${APP_ENV:-staging}"
if [ "$APP_ENV" = "live" ]; then
# NOTE: Renamed from worker.php due to CIFS/SMB invalid argument errors on rename/open.
SCRIPT="/app/live/tools/pi_control/pi_worker.php"
else
# NOTE: Renamed from worker.php due to CIFS/SMB invalid argument errors on rename/open.
SCRIPT="/app/staging/tools/pi_control/pi_worker.php"
fi
if [ ! -f "$SCRIPT" ]; then
echo "pi_worker.php not found at $SCRIPT"
exit 1
fi
exec php "$SCRIPT"