Cloudflare

    Login to your Cloudflare Workers account and obtain your account_id from the sidebar.

    Create a wrangler.toml in your root directory:

    1. npx miniflare .output/server/index.mjs --site .output/public

    Install and login to your Cloudflare account:

    Generate website with cloudflare preset:

      Publish:

      1. wrangler publish

      Create a token according to the wrangler action docs and set CF_API_TOKEN in your repository config on GitHub.