diff --git a/.github/workflows/build-storybook.yml b/.github/workflows/build-storybook.yml index 0e79d4a2..6f7577ea 100644 --- a/.github/workflows/build-storybook.yml +++ b/.github/workflows/build-storybook.yml @@ -11,8 +11,6 @@ jobs: deploy: name: Deploy Storybook to GitHub Pages runs-on: ubuntu-latest - env: - STORYBOOK_HOST: ${{ vars.STORYBOOK_HOST }} steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -23,6 +21,8 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile - name: Build Storybook + env: + STORYBOOK_HOST: ${{ vars.STORYBOOK_HOST }} run: yarn build-storybook # Popular action to deploy to GitHub Pages: