Skip to content

Commit

Permalink
ci: update Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
seiry committed Nov 11, 2023
1 parent 30b04ae commit 0aff06f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
release:
types: [published]

permissions:
contents: read
pages: write
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -28,8 +33,8 @@ jobs:
- 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 }}
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 0aff06f

Please sign in to comment.