Skip to content

Commit

Permalink
chore: deploy sb to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Mar 17, 2023
1 parent 93ac348 commit f8c888c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,26 @@ jobs:
- id: main
run: |
yarn install
yarn build-storybook
yarn release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-pages-artifact@v1
with:
path: ./storybook-static

# See: https://github.com/actions/deploy-pages
deploy-job:
needs: release-job
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
Empty file added .storybook/public/.gitkeep
Empty file.

0 comments on commit f8c888c

Please sign in to comment.