Skip to content

Revert "GitHub action to automatically run eslint --fix on PRs and co… #43

Revert "GitHub action to automatically run eslint --fix on PRs and co…

Revert "GitHub action to automatically run eslint --fix on PRs and co… #43

name: Build and Publish Storybook to GitHub Pages
on:
push:
branches:
- 'main'
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Dependencies
run: npm install
- name: Build Storybook
run: npm run build -- -o storybook-static
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static