From bd9f5d03dabe2ebde82b8fe6edecc9571c15fc47 Mon Sep 17 00:00:00 2001 From: Chris Watterston Date: Thu, 8 Aug 2024 17:02:19 +0100 Subject: [PATCH] Update deploy.yaml Setting explicit path and build_command --- .github/workflows/deploy.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 91942cd..dfc7741 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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/github-actions-storybook-to-github-pages@v1.0.3 with: - path: build # change to your build folder + path: dist/storybook + build_command: npm run build-storybook