Skip to content

Commit

Permalink
Try to use different branches for storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
pama0917 committed Jan 13, 2025
1 parent fd078e5 commit 962f2bb
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ jobs:
with:
node-version: '22.x'

- name: Install and push Storybook to GitHub Pages
uses: bitovi/[email protected]
- name: Install
run: yarn

- name: Build Storybook
run: yarn build:showcase

- name: Deploy Storybook to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
install_command: yarn install
build_command: yarn build:showcase
path: dist-showcase
templateUse:
uses: Netcracker/qubership-apihub-json-crawl/.github/workflows/template-echo.yml@test/run-gh-action
branch: gh-pages
folder: dist-showcase
target-folder: ${{ github.ref_name }}

0 comments on commit 962f2bb

Please sign in to comment.