feat(docker): add webhook to auto-redeploy on master commit, remove old docker-related files
Build and deploy / deploy (push) Successful in 35s

This commit is contained in:
2026-07-26 18:07:49 +02:00
parent e9a5eef051
commit eff6f48425
6 changed files with 120 additions and 10 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
while [ ! -f /app/server.js ]; do sleep 2; done
while true; do
STAMP=$(cat /app/.deploy-timestamp 2>/dev/null)
node /app/server.js &
PID=$!
while [ "$(cat /app/.deploy-timestamp 2>/dev/null)" = "$STAMP" ]; do
sleep 2
done
kill $PID
wait $PID 2>/dev/null
done