Can Preview but cannot publish

Hi, I am seeing this error when I try to publish.

Error: No deploy target specified

I can preview the worker so I suspect that it has something do to with my wrangler.toml file but I have no idea what it is. Can someone please help me fix this?

Thanks,
Jay

Never mind, figured it out - I was missing workers_dev, route and zone_id in my wrangler.toml file (although I left the last two as empty)

This topic was automatically closed after 31 days. New replies are no longer allowed.