Skip to content

Commit

Permalink
[TM-1493] Deploy storybook to github pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Nov 26, 2024
1 parent 1c8c356 commit fa5a0bc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy-github-storybook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Workflow taken from the Storybook docs: https://storybook.js.org/docs/sharing/publish-storybook#github-pages
name: Build and Publish Storybook to GitHub Pages

on:
push:
branches:
- 'task/TM-1493-github-storybook' # TODO update to 'staging' before PR

permissions:
contents: read
pages: write
id-token: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20.x'

- uses: bitovi/[email protected]
with:
install_command: yarn install
build_command: yarn build-storybook
path: storybook-static
checkout: false

0 comments on commit fa5a0bc

Please sign in to comment.