diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8b7f3e1..0ab5e6b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,8 +8,14 @@ on: branches: - master jobs: - build: + deploy: runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} steps: - name: Check out uses: actions/checkout@v4 @@ -21,18 +27,6 @@ jobs: node-version: 18 - run: npm ci - run: npm run build - - deploy: - needs: build - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - runs-on: ubuntu-latest - steps: - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact