NobGit Docs

Deploy with Cloudflare

  1. Click your account menu in the top right.
  2. Click Settings.
  3. Open Integrations.
  4. In Cloudflare connection, enter a connection name, Cloudflare Account ID, and API token.
  5. Select Save and test connection.
  6. Open the repository you want to deploy.
  7. Visit Settings.
  8. Expand Cloudflare under Integrations.
  9. Check Enable deployments.
  10. Choose an existing Pages project or Worker, or create a new target.
  11. Set branch, build command, and output directory or Worker entry in Advanced build settings.
  12. Select Save Cloudflare integration.

On push, NobGit queues deployments from the Git post-receive hook. Pages deploys upload files from the output directory. Workers deploys upload a JavaScript module entry such as worker.js, index.js, or src/index.js.