diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index fed25d5..53416a0 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -18,6 +18,10 @@ concurrency: jobs: build: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest steps: @@ -50,18 +54,6 @@ jobs: with: path: "docs/dist" - # Deployment job - deploy: - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - runs-on: ubuntu-latest - - needs: build - - steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4.0.5