You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`cli.yml`| Standalone (not part of the pipeline above): builds and tests `cli/`; on `main` pushes also publishes the release binary + `cli/setup/` scripts (`install.sh`, `uninstall.sh`) to GitHub Pages |
16
16
|`host.yml`| Standalone: deno-lints and tests each host capability (`dom`, `network`, `storage`, `time`) in headless Chromium; on `main` pushes also deploys their ESM sources to Cloudflare Pages (`edge-python-host`) |
17
17
|`std.yml`| Standalone: clippy + build + optimize + test each stdpkg (`json`, `re`, `math` as wasm; `test` is pure Edge Python, so its steps skip the wasm build and only run the corpus); on `main` pushes also deploys the per-package `.wasm` to Cloudflare Pages (`edge-python-std`) |
18
+
|`docs.yml`| Standalone (triggered only by `docs/**` changes): `npm ci` + `next build` static export of the Nextra docs (`docs/out`, sitemap via `postbuild`); PRs build only, `main` pushes also deploy to Cloudflare Pages (`edge-python-docs`) |
18
19
19
20
## Cloudflare Pages
20
21
21
-
Four**Direct Upload** projects, Actions pushes prebuilt directories via `wrangler pages deploy`; Cloudflare doesn't clone or build.
22
+
Five**Direct Upload** projects, Actions pushes prebuilt directories via `wrangler pages deploy`; Cloudflare doesn't clone or build.
22
23
23
24
| Project | Source | Production URL |
24
25
|---------|--------|----------------|
25
26
|`edge-python-demo`|`demo/` (wasm hashed for `version.json`, not bundled) |`https://edge-python-demo.pages.dev`|
|`edge-python-host`|`host/<cap>/src/` for each capability, flattened to `<cap>/`|`https://edge-python-host.pages.dev`|
28
29
|`edge-python-std`| per-package optimized `.wasm` from `std/<pkg>/`|`https://edge-python-std.pages.dev`|
30
+
|`edge-python-docs`|`docs/out` (Nextra static export) |`https://edgepython.com` (custom domain; also `https://edge-python-docs.pages.dev`) |
29
31
30
-
All four deploys run **only on pushes to `main`** and are pinned to the production `main` branch in the matching workflow (`_runtime.yml` / `_demo.yml` / `host.yml` / `std.yml`). PRs and tags never deploy; the next `main` push refreshes the projects.
32
+
All five deploys run **only on pushes to `main`** and are pinned to the production `main` branch in the matching workflow (`_runtime.yml` / `_demo.yml` / `host.yml` / `std.yml` / `docs.yml`). PRs and tags never deploy; the next `main` push refreshes the projects.
31
33
32
34
### Cloudflare and GitHub setup
33
35
@@ -36,8 +38,11 @@ All four deploys run **only on pushes to `main`** and are pinned to the producti
`edge-python-docs` serves `edgepython.com` (replacing the old Mintlify docs): after the first deploy, add `edgepython.com` as a custom domain on the project (Pages -> Custom domains) and remove it from Mintlify.
45
+
41
46
Repo secrets (*Settings -> Secrets and variables -> Actions*):
// Static export for Cloudflare Pages Direct Upload (-> out/).
10
+
output: 'export',
11
+
images: {unoptimized: true},
12
+
// Dev convenience only: redirect the root to the first page. `output: 'export'` ignores this (Cloudflare serves the redirect via public/_redirects in prod).
0 commit comments