Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
Setting explicit path and build_command
  • Loading branch information
ChrisWatterston authored Aug 8, 2024
1 parent 53ef896 commit bd9f5d0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Build and Publish storybook to GitHub Pages

on:
push:
branches:
- "main" # change to the branch you wish to deploy from

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

- "main"
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/[email protected]
with:
path: build # change to your build folder
path: dist/storybook
build_command: npm run build-storybook

0 comments on commit bd9f5d0

Please sign in to comment.