Skip to content

Commit

Permalink
chore: (#165) 스토리북 배포 파일들이 존재하지 않는 이유를 찾기 위해 React도 배포 시도
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilpop8663 committed Jul 29, 2023
1 parent 25cf643 commit 825cdf8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/frontend-storybook-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,19 @@ jobs:
PUBLIC_URL=$(echo $GITHUB_REPOSITORY | sed -r 's/^.+\/(.+)$/\/\1\//')
echo PUBLIC_URL=$PUBLIC_URL > .env
- name: 스토리북을 빌드한다.
- name: Build app
run: |
npm run build
cp ./build/index.html ./build/404.html
- name: Build storybook
run: |
npm run build-storybook
mv ./storybook-static ./build/storybook
- name: storybook-deploy 브런치에 배포할 파일을 업데이트 한다.
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: storybook-deploy
publish_dir: ./storybook-static
publish_dir: ./build

0 comments on commit 825cdf8

Please sign in to comment.