Skip to content

Update deploy-github-pages.yaml #4

Update deploy-github-pages.yaml

Update deploy-github-pages.yaml #4

name: Build and Publish Storybook to GitHub Pages
on:
push:
branches:
- 'main'
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:
install_command: npm install
build_command: npm run build-storybook
path: storybook-static