Skip to content

Commit

Permalink
feat: auto deploy storybook to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
herleraja authored May 24, 2024
1 parent 5343724 commit ae1aa5e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- "master"

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
install_command: yarn install
build_command: yarn build-storybook

0 comments on commit ae1aa5e

Please sign in to comment.