feat: StackflowExample
여러 파일 코드 미리보기
#312
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
on: | |
push: | |
branches: | |
- main | |
- wip # V3 | |
paths: | |
- "docs/**" | |
- "packages/recipe/**" | |
- "packages/stylesheet/**" | |
- "packages/react/**" | |
- "packages/stackflow/**" | |
workflow_dispatch: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
name: Deploy seed-design-v3 Storybook | |
jobs: | |
deploy: | |
name: Deploy seed-design-v3 Storybook | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.11.0 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Build Packages | |
run: yarn build-only-package | |
- name: Build Storybook | |
working-directory: ./docs | |
run: yarn build-storybook | |
- name: Deploy docs at Cloudflare Pages in `seed-design-v3-storybook` project (Production) | |
uses: cloudflare/wrangler-action@v3 | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
accountId: ${{ secrets.CF_ACCOUNT_ID }} | |
command: pages deploy ./docs/storybook-static --project-name=seed-design-v3-storybook --branch=main |