Skip to content

Public site sync

Public site sync #254

name: Public site sync
on:
pull_request:
branches: [dev, main]
push:
branches: [dev, main]
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
local-public-sync:
name: Local public surfaces
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3"
- name: Check local public docs/site/version metadata
run: bun run check:public-sync
live-public-sync:
name: Live deployed release state
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3"
- name: Exercise production remote final-evidence and deployed release-state validation
run: bun scripts/check-public-version-sync.ts --live