Skip to content

Commit 02dc8f8

Browse files
committed
Updates
1 parent b9b242f commit 02dc8f8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ jobs:
8080
${{ fromJson(steps.zoteroVersion.outputs.headers).last-modified-version }}
8181
8282
# ----------------------------------------------------------------------------
83-
# Deploy the website. This job is conditional, we will always run it on a
83+
# Build the website. This job is conditional, we will always run it on a
8484
# push or if on a scheduled run the cache was determined to be out of date.
8585
#
86-
deploy:
86+
build:
8787
needs: check
8888
runs-on: ubuntu-latest
8989
if: github.event_name == 'push' || needs.check.outputs.cacheHit != 'true'
@@ -159,6 +159,14 @@ jobs:
159159
with:
160160
path: ./public
161161

162+
163+
deploy:
164+
environment:
165+
name: github-pages
166+
url: ${{ steps.deployment.outputs.page_url }}
167+
runs-on: ubuntu-latest
168+
needs: build
169+
steps:
162170
- name: Deploy to GitHub Pages
163171
id: deployment
164172
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)