question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to deploy to .workers.dev?

See original GitHub issue

First off, apologies if this is a misunderstanding, first time playing with workers so I still have a lot of doc reading to do.

It seems that cfw can only deploy to custom domains, hence the requirement on having a zoneid. Is this intentional, or maybe a limitation on CF’s side? As I don’t have any domains set up with CF at the moment, there’s no way to get a zoneid for quick demo of worktop + cfw. Had to switch over to wrangler for that.

Certainly not a huge deal as anything past a demo I’d want to toss up on a real domain anyhow.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lukeedcommented, May 7, 2021

The zoneid is just needed to define the routes 😃 I do throw an error if the value is empty, but if it’s invalid-but-never-used then it’s not a problem, haha

I’ll add something nicer of course, but I havent decided yet how to deal with multiple environments, and I think that’s how/where a subdomain: boolean value should come in.

0reactions
lukeedcommented, Nov 21, 2022

Redeploy on every file save? You’d have to use an external file watcher; eg:

watchlist src — cfw deploy

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing workers.dev - The Cloudflare Blog
You will soon be able to deploy your Cloudflare Workers to a subdomain-of-your-choice.workers.dev, which you can go claim now on workers.dev ...
Read more >
How to deploy to Cloudflare Workers (development)
Trigger deployment​​ Open your site on Cloudflare using the url https://<YOUR-WORKER-NAME>.<YOUR-ACCOUNT-NAME>.workers.dev . The site should render normally. It ...
Read more >
workers.dev will soon allow users to deploy their Cloudflare ...
Cloudflare users will very soon be able to deploy Workers without having a Cloudflare domain.
Read more >
Deploy a GitHub Application to Cloudflare Workers
1. Cloudflare worker. Set up a cloudflare account and enable workers, change account_id in wrangler. toml to your account id.
Read more >
Using Cloudflare Workers as Redirectors - ajpc500
A significant appeal of the Workers service is the ability to deploy our code under Cloudflare's workers.dev domain.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found