From 25bd0f7e2b785bb0963a9ab27fef9767300b43b5 Mon Sep 17 00:00:00 2001 From: AlejoYarce Date: Thu, 10 Oct 2024 10:22:42 -0500 Subject: [PATCH] deploy github action --- .github/workflows/deploy.yaml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e3822fc..1ba7b8a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -6,15 +6,17 @@ on: - "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: - install_command: yarn install - build_command: yarn build-storybook - path: storybook-static - checkout: false + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: '20.x' + + - uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3 + with: + install_command: yarn install + build_command: yarn build-storybook + path: storybook-static + checkout: false