Skip to content

Commit

Permalink
docs: deploy storybook to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
joschka committed Jan 19, 2024
1 parent 5c57a64 commit 596bdbd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,22 @@ jobs:
env:
BUILD_ENV: GHA

- name: Setup Pages
uses: actions/configure-pages@v2
# - name: Setup Pages
# uses: actions/configure-pages@v2

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./_site
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v1
# with:
# path: ./_site

# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v1

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
- uses: bitovi/[email protected]
with:
path: storybook-static # default: dist/storybook
checkout: false # default: true

- name: Deploy Storybook to Chromatic
run: npm run chromatic
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
.DS_Store
.idea
build-storybook.log
storybook-static

0 comments on commit 596bdbd

Please sign in to comment.