From 02dc8f8e522c59821b52b45085ecb633079d693e Mon Sep 17 00:00:00 2001 From: Bill Stumbo Date: Mon, 9 Sep 2024 07:43:06 -0400 Subject: [PATCH] Updates --- .github/workflows/gh-pages.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index b0501aff6..a9e3b7d63 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -80,10 +80,10 @@ jobs: ${{ fromJson(steps.zoteroVersion.outputs.headers).last-modified-version }} # ---------------------------------------------------------------------------- - # Deploy the website. This job is conditional, we will always run it on a + # Build the website. This job is conditional, we will always run it on a # push or if on a scheduled run the cache was determined to be out of date. # - deploy: + build: needs: check runs-on: ubuntu-latest if: github.event_name == 'push' || needs.check.outputs.cacheHit != 'true' @@ -159,6 +159,14 @@ jobs: with: path: ./public + + 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@v4