Run these two scripts from the repo root (../ relative to src/):
Step 1 — Merge master into prod branch:
cd .. && ./merge-prod.sh
This checks out master, pushes it, then merges into parf-edhellen-prod-v2 and pushes that branch.
Step 2 — Compile and verify:
./compile-prod.sh
This runs phpstan + PHP tests on master, switches to the prod branch, runs tests again, then builds production assets (npm run production), and returns to master.
Both scripts must complete without errors for a successful deploy.