ci: clear Redis recipe cache on deploy
All checks were successful
CI / update (push) Successful in 1m23s

Ensures fresh data is fetched after deployments when API projections
or data structures change.
This commit is contained in:
2026-01-29 14:04:30 +01:00
parent 308d9c6dac
commit 408bc42784

View File

@@ -33,6 +33,7 @@ jobs:
git reset --hard origin/master git reset --hard origin/master
pnpm install --frozen-lockfile pnpm install --frozen-lockfile
pnpm run build pnpm run build
redis-cli KEYS 'recipes:*' | xargs -r redis-cli DEL
sudo systemctl stop homepage.service sudo systemctl stop homepage.service
mkdir -p dist mkdir -p dist
rm -rf dist/* rm -rf dist/*