Skip to content

Commit

Permalink
Merge de43093 into 07f7ef2
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaraivanov committed Apr 26, 2024
2 parents 07f7ef2 + de43093 commit 587f9d5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 348 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/gh-pages-deploy.yml
Expand Up @@ -5,15 +5,21 @@ on:
release:
types: [created]

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

jobs:
build-and-deploy:
deploy:
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install and Build 🔧
run: |
npm install
npm run storybook:build
npm run deploy-storybook
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- id: build-publish
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
with:
path: storybook-static
install_command: npm ci
build_command: npm run storybook:build

0 comments on commit 587f9d5

Please sign in to comment.