From d2344f46593c01cf619bd23fcb9621026364e440 Mon Sep 17 00:00:00 2001 From: Adam Liljenberg Date: Thu, 7 Mar 2024 14:21:55 +0100 Subject: [PATCH] Update GitHub Pages deployment workflow*** --- .github/workflows/pages.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 2414e6b..8662aba 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -33,12 +33,20 @@ jobs: with: path: "dist/" deploy: - needs: build runs-on: ubuntu-latest + needs: build environment: name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + url: ${{steps.deployment.outputs.page_url}} + steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v3 + - uses: actions/download-artifact@master + with: + name: page + path: . + - uses: actions/configure-pages@v1 + - uses: actions/upload-pages-artifact@v1 + with: + path: . + - id: deployment + uses: actions/deploy-pages@main