fix: post deployment fixes #256
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: | |
- "staging" # change to the branch you wish to deploy from | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.build-publish.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- id: build-publish | |
uses: bitovi/[email protected] | |
with: | |
path: storybook-static # change to your build folder | |
install_command: yarn install | |
build_command: yarn storybook:build |