Skip to content

merge: #39 from dev #32

merge: #39 from dev

merge: #39 from dev #32

Workflow file for this run

name: Generate docs
on:
push:
branches:
- main
jobs:
build-pages:
if: "startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
name: "Rebuild and deploy docs on version bump"
steps:
- name: Check out
uses: actions/checkout@v3
- name: Install node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install packages
run: npm install
- name: Build
run: npm run build-storybook
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
publish_dir: ./docs