From d603fb4a6b1823bf2b0c2cf0d1d24721e96e2b03 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Sun, 31 Mar 2024 13:49:03 +0300 Subject: [PATCH] fix: build and deploy --- .github/workflows/build-and-deploy.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index ff78430..01d0658 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -21,9 +21,13 @@ concurrency: cancel-in-progress: false jobs: - build: + build-and-deploy: runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + strategy: matrix: node-version: [20.x] @@ -39,16 +43,6 @@ jobs: - run: npm ci - run: npm run build --if-present - # Deploy job - deploy: - needs: build - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact