Skip to content

Components, DataViews: Adopt --wpds-dimension-size-* tokens (#79093) #27125

Components, DataViews: Adopt --wpds-dimension-size-* tokens (#79093)

Components, DataViews: Adopt --wpds-dimension-size-* tokens (#79093) #27125

name: Storybook GitHub Pages
on:
push:
branches:
- trunk
# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}
jobs:
deploy:
runs-on: 'ubuntu-24.04'
permissions:
contents: write
if: ${{ github.repository == 'WordPress/gutenberg' }}
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
persist-credentials: false
- name: Setup Node.js and install dependencies
uses: ./.github/setup-node
- name: Build Storybook
env:
NODE_OPTIONS: --max-old-space-size=8192
NODE_ENV: production
run: npm run storybook:build
- name: Deploy
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook/build
force_orphan: true