Merge pull request #7 from Yeti-Robotics/refactor-project-structure #19
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: Build and Publish Storybook to GitHub Pages | |
on: | |
push: | |
branches: | |
- "development" # change to the branch you wish to deploy from | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- id: build-publish | |
uses: bitovi/[email protected] | |
with: | |
checkout: true | |
install_command: npm install | |
build_command: npm run build:storybook | |
path: storybook-static # change to your build folder |