Image: Clear aspect ratio when wide aligned (#53439) #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Storybook GitHub Pages | |
on: | |
push: | |
branches: | |
- trunk | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'WordPress/gutenberg' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
ref: trunk | |
- name: Setup Node.js and install dependencies | |
uses: ./.github/setup-node | |
- name: Build Storybook | |
run: npm run storybook:build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./storybook/build | |
force_orphan: true |