-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to deploy to .workers.dev? #7
Comments
Hey, Ya I plan on adding this. In the meantime you can put in a junk zoneid and leave your Then after your first upload, you go into your dashboard and manually turn on the "deploy to workers subdomain" toggle. This persists across deployments, so all future deploys will keep going to your subdomain. |
Oh cool! Didn't even think to try a junk id, certainly wouldn't expect that to persist. Good to know! |
The 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 |
@lukeed How would we go about testing locally on a workers.dev domain? |
See tagged commit and PR; use ‘subdomain: true’ in config file |
Very cool, thanks - missed that |
@lukeed is there a way to run it in "watch" mode? So it hot-reloads on changes? |
Redeploy on every file save? You’d have to use an external file watcher; eg: watchlist src — cfw deploy |
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 azoneid
. 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 azoneid
for quick demo ofworktop
+cfw
. Had to switch over towrangler
for that.Certainly not a huge deal as anything past a demo I'd want to toss up on a real domain anyhow.
The text was updated successfully, but these errors were encountered: