Skip to content

Commit

Permalink
📦️ ci: github pages 메인에 storybook을 배포하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
baegyeong committed Nov 14, 2024
1 parent 8363414 commit c24982c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,12 @@ jobs:
PUBLIC_URL=$(echo $GITHUB_REPOSITORY | sed -r 's/^.+\/(.+)$/\/\1\//')
echo PUBLIC_URL=$PUBLIC_URL > .env
- name: Build app
run: |
yarn client build
cp ./packages/frontend/dist/index.html ./packages/frontend/dist/404.html
- name: Build storybook
run: |
yarn client build-storybook
mv ./packages/frontend/storybook-static ./packages/frontend/dist/storybook
- name: Deploy to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/frontend/dist
publish_dir: ./packages/frontend/storybook-static

0 comments on commit c24982c

Please sign in to comment.