Skip to content

Commit

Permalink
fix: deploying storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
TimMikeladze committed Dec 11, 2023
1 parent 52debf8 commit 8012f2f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
release:
types: [published]

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

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -23,15 +28,11 @@ jobs:
node-version: lts/*
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build Storybook
run: yarn build-storybook

- name: Deploy Storybook
uses: bitovi/[email protected]
with:
install_command: yarn install --frozen-lockfile
build_command: yarn build-storybook
path: storybook-static
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8012f2f

Please sign in to comment.