Generates a deploy pipeline for this site.
Usage
mix cherry.gen.action [--host github|cloudflare] [--source DIR] [--branch NAME] [--name NAME] [--force] [--json]The default host, github, writes .github/workflows/pages.yml: build
on push to --branch (default main), upload the site, deploy via
GitHub's Pages actions. The workflow adds .nojekyll, and a CNAME
when the site's url is a custom domain (skipped for *.github.io and
subpath base_path sites). One-time repo setup: Settings → Pages →
Source → GitHub Actions.
--host cloudflare targets Cloudflare Workers static assets: writes
wrangler.jsonc (Worker named by --name, default a slug of the site
title) plus .github/workflows/cloudflare.yml, which builds the site
and ships it with wrangler deploy. One-time repo setup: add
CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID repository secrets.