fletch
CDCloudflare Developers
•Created by fletch on 4/19/2024 in #pages-help
Pages deployment not running `npm run buld`
We had a dead production deployment go out this morning for a Pages project linked to a Github repo. There was a merge to the 'prod' branch which triggered a deployment but Cloudflare's build step did not run
npm run build
so the /functions folder was not generated and it just deployed nothing. To make things interesting, we had the exact same commit trigger a Preview deployment on our dev
branch without any issues.
The log from the broken production deployment (no functions deployed):
The logs from the successful preview deployment of THE SAME COMMIT:
there is an issue with the wrangler.toml but that happened in both successful builds and non building deployments. Any ideas what's going on?1 replies