merge: useSwitch 스타일링방식 vanilla-extract로 변경/README 업데이트 (#23) #46
This file contains hidden or 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: | | |
npm ci | |
npm run build-storybook | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2.0.0 | |
with: | |
path: 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 }} |