feat: initial release #4
Workflow file for this run
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
name: Publish Storybook | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: pages | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build dist | |
run: ./build.sh dist | |
- name: Build storybook | |
run: ./build.sh storybook | |
- name: Upload artifact to Pages | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: "storybook-static/" | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v2 |