Skip to content

깃허브 액션 테스트 (#99) #7

깃허브 액션 테스트 (#99)

깃허브 액션 테스트 (#99) #7

name: Deploy Storybook to GitHub Pages
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build Storybook
run: pnpm --filter client run build-storybook
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apps/client/storybook-static