Merge pull request #136 from ubie-oss/add-chromatic-settings #123
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: Deploy storybook | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Deploy storybook | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: ./actions/setup-node-and-install-deps | |
- name: Generate Storybook | |
run: npm run build-storybook | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./storybook-static |