Preview and Publish Your Cloudflare Workers Project

Share this video with your friends

Send Tweet

Using wrangler whoami in a terminal we'll grab our account id so we can paste our id into the double quotes of account_id = "" inside of wrangler.toml file. Using the wrangler dev command we can look at our Workers serverless function and test it before deploying it. Once we're ready to deploy, we can use the wrangler publish command to deploy it to our unique workers.dev subdomain.