From 5ec9834d071a104e894d63cd00787053ef6c8794 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Fri, 3 May 2024 18:04:01 +0100 Subject: [PATCH] ci: testing alternative gh pages workflow Signed-off-by: Brian McGee --- .github/workflows/gh-pages.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index ddd5c51..8c6099d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -13,7 +13,7 @@ permissions: contents: write jobs: - gh-pages: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -32,3 +32,16 @@ jobs: if: github.ref == 'refs/heads/main' with: path: result + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + needs: build + runs-on: ubuntu-latest + name: Deploy + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4