Skip to content

🥟 bun bun bun

🥟 bun bun bun #124

name: Release Storybook to GitHubPages
on:
push:
branches:
- main
env:
cache-version: v1
jobs:
release:
name: Project Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8.2.0
- name: Install Node Dependencies
run: pnpm install
working-directory: ./frontend
- name: Build storybook
run: pnpm run build-storybook -o ./dist/storybook
working-directory: ./frontend
- name: Create dist/frontend directory
run: mkdir -p ./dist/frontend
working-directory: ./frontend
- name: Copy vercel-ignore-build-step.sh to dist/frontend directory
run: cp ./vercel-ignore-build-step.sh ./dist/frontend
working-directory: ./frontend
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./frontend/dist