Deploy independent blog preview Worker

This commit is contained in:
Kevin
2026-09-02 02:05:01 -04:00
parent 09d133df19
commit 2a37841044
2 changed files with 19 additions and 8 deletions
+6 -8
View File
@@ -4,21 +4,19 @@ on:
push: push:
branches: [astro-platform-pilot] branches: [astro-platform-pilot]
workflow_dispatch: workflow_dispatch:
inputs:
site_key:
description: Site key to deploy to its non-production Worker
required: true
type: choice
options: [www, blog]
jobs: jobs:
preview: preview:
name: Preview ${{ inputs.site_key || 'www' }} name: Preview ${{ matrix.site_key }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
strategy:
fail-fast: false
matrix:
site_key: [www, blog]
env: env:
SITE_KEY: ${{ inputs.site_key || 'www' }} SITE_KEY: ${{ matrix.site_key }}
ASTRO_TELEMETRY_DISABLED: '1' ASTRO_TELEMETRY_DISABLED: '1'
steps: steps:
- name: Checkout source - name: Checkout source
+13
View File
@@ -0,0 +1,13 @@
# Blog preview deployment
The `blog` site is an independently built and deployed static Astro site from
the same root repository. Its non-production Worker is
`3031023-xyz-blog-preview` and its workers.dev preview URL is published by
Cloudflare after the pilot workflow completes.
This preview has no custom domain, route, or production DNS record. The future
`blog.3031023.xyz` attachment is a separate Phase 5 approval step that follows
the accepted primary-domain cutover.
The sample posts remain structured site data for this pilot. Markdown content
collections and any editor/CMS workflow are explicitly deferred.