merge: badge modal 추가 및 record추가시 뱃지 모달 추가 (#108) #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow name | |
name: 🚀 Storybook 배포 | |
on: | |
push: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ✅ 코드 체크 아웃 | |
uses: actions/checkout@v3 | |
- name: ✅ 노드 세팅 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
- name: 🔨 빌드 | |
run: | | |
yarn install | |
yarn workspace design-system build-storybook | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2.0.0 | |
with: | |
path: packages/design-system/storybook-static | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.build-publish.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: 🚀 스토리북 배포 | |
id: deployment | |
uses: actions/deploy-pages@v3 | |
with: | |
token: ${{ github.token }} |