Skip to content

Commit

Permalink
Add github pages upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Dec 17, 2023
1 parent 5c32cae commit 3ff2e26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ jobs:
- name: Build storybook
run: npm run build-storybook

- name: Setup pages.
uses: actions/configure-pages@v2
- name: Upload artifact.
uses: actions/upload-pages-artifact@v1
with:
path: ./storybook-static/
- name: Publish storybook build to github pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
id: deployment
uses: actions/deploy-pages@v1

- name: Publish library to github packages
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
build
storybook.log
storybook-static

0 comments on commit 3ff2e26

Please sign in to comment.