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:
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