Skip to content

Simplify workflow definition #3

Simplify workflow definition

Simplify workflow definition #3

name: Deploy Storybook to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci --unsafe-perm
- run: npm run storybook:build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static