diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1f95a98..9061ca4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -4,21 +4,19 @@ on: push: branches: [astro-platform-pilot] workflow_dispatch: - inputs: - site_key: - description: Site key to deploy to its non-production Worker - required: true - type: choice - options: [www, blog] jobs: preview: - name: Preview ${{ inputs.site_key || 'www' }} + name: Preview ${{ matrix.site_key }} runs-on: ubuntu-latest permissions: contents: read + strategy: + fail-fast: false + matrix: + site_key: [www, blog] env: - SITE_KEY: ${{ inputs.site_key || 'www' }} + SITE_KEY: ${{ matrix.site_key }} ASTRO_TELEMETRY_DISABLED: '1' steps: - name: Checkout source diff --git a/docs/blog-preview.md b/docs/blog-preview.md new file mode 100644 index 0000000..752cfd6 --- /dev/null +++ b/docs/blog-preview.md @@ -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.