build failing for html/css build/deploy using github for workers
i have a simple html/css site im trying to deploy, but the build keeps failing and i only see the default "hello world". i have linked to my github repo, and it seemed that when building it was having trouble finding the index.html so i edited the deploy command to
npx wrangler deploy ./index.html. but i still have the error and the build is failing:
2 Replies
Hi,
Afaik you can't deploy a html file like this, I think it needs to be JS
You can use a bare wrangler.jsonc with static asset handling to deploy a static html/css site, here is an example: https://github.com/Razboy20/deploy-cf-test
GitHub
GitHub - Razboy20/deploy-cf-test
Contribute to Razboy20/deploy-cf-test development by creating an account on GitHub.