Deploy to Vercel
One-click deploys go through CloudCode's own Vercel integration, so you don't need a Vercel account, token or CLI. CloudCode uploads your project's files to Vercel, Vercel builds them if the project needs a build, and you get a *.vercel.app URL.
CloudCode waits up to about five minutes for Vercel to install and build. If the build fails, the last lines of Vercel's error output appear in the error message. If it's still running after five minutes, the deploy is reported as failed even though Vercel may still finish it. The message includes the deployment URL so you can check it.
- The URL shown is the deployment's unique *.vercel.app address
- Each CloudCode project gets its own Vercel project, named cc-<id derived from your account>-<project name>-<first 8 characters of the project ID>. CloudCode sets the name on the server, so other users can't deploy over your project. The preview toolbar, the Dashboard and the public API all deploy a given project to the same Vercel project
- Renaming a CloudCode project changes its Vercel project name, so the next deploy goes to a new Vercel project with a new URL
- Production deploys target Vercel's production environment. Development and Staging deploys, from any source or workspace, are preview deployments of the same Vercel project, with their own URLs
- If Vercel reports a failed deployment, the last 10 lines of its error output appear in the error message
- Deployment history lists each deploy's status, URL and time per environment. The rollback button currently only adds a history entry and doesn't redeploy older files. To roll back, restore the files (version history or a GitHub pull) and deploy again
By default, every deployed HTML page (except in Next.js projects) that has a closing </body> tag gets a small fixed "Built with CloudCode" link in its bottom-right corner, pointing to cloudcode.gg. To turn it off, go to Settings → API Keys & Integrations and switch off the "Built with CloudCode" badge toggle. Your choice is saved in this browser rather than in your account, so set it again on other browsers and devices. The setting applies to future deploys, so redeploy to remove the badge from an existing deployment.
<a data-cloudcode-badge href="https://cloudcode.gg/?utm_source=made-with-badge&utm_medium=referral" …> ☁ Built with CloudCode </a>