Skip to content

Commit

Permalink
ci: use bitovi
Browse files Browse the repository at this point in the history
  • Loading branch information
seiry committed Nov 11, 2023
1 parent fa94041 commit 5495de2
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build and Deploy Storybook
run: yarn deploy-storybook --ci --source-branch main
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- id: build-publish
name: Publish storybook
uses: bitovi/[email protected]
# with:
# path: build # change to your build folder

# - name: Build and Deploy Storybook
# run: yarn deploy-storybook --ci --source-branch main
# env:
# GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
# # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and publish to npm
if: github.ref == 'refs/tags/v*' # Only run on version tags
Expand Down

0 comments on commit 5495de2

Please sign in to comment.