From 8498731fdbc47ea76a33a2753ea5fc1bd318e35a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Kr=C3=A4mer?= Date: Thu, 30 Jan 2025 17:19:25 +0100 Subject: [PATCH] Update github-pages.yml --- .github/workflows/github-pages.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) 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