Skip to content

Build and Publish storybook to GitHub Pages #66

Build and Publish storybook to GitHub Pages

Build and Publish storybook to GitHub Pages #66

name: Build and Publish storybook to GitHub Pages
on:
release:
types: [ published ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
if: github.repository_owner == 'rustic-ai'
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
with:
path: storybook-static