Skip to content

Governance Page DRAFT #445

Governance Page DRAFT

Governance Page DRAFT #445

Workflow file for this run

name: Deploy PR Preview
on:
pull_request:
types: [opened, synchronize, reopened, closed]
permissions:
contents: write
pull-requests: write
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
- name: Install dependencies
if: github.event.action != 'closed'
run: yarn install --immutable
- name: Build Storybook
if: github.event.action != 'closed'
run: yarn build-storybook
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./dist-storybook
preview-branch: gh-pages
umbrella-dir: pr-previews