Skip to content

Commit 2605fae

Browse files
committed
[ admin ] Cure bitrot in publish CI
Several actions had been updated and their predecessors deprecated (for example, https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/) Thankfully a fairly straightforward patch.
1 parent f20fd68 commit 2605fae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy website to GitHub Pages
22

33
env:
4-
WC_HUGO_VERSION: '0.123.7'
4+
WC_HUGO_VERSION: '0.136.5'
55

66
on:
77
# Trigger the workflow every time you push to the `main` branch
@@ -44,7 +44,7 @@ jobs:
4444
${{ runner.os }}-hugomod-
4545
- name: Setup Pages
4646
id: pages
47-
uses: actions/configure-pages@v3
47+
uses: actions/configure-pages@v5
4848
- name: Build with Hugo
4949
env:
5050
HUGO_ENVIRONMENT: production
@@ -54,7 +54,7 @@ jobs:
5454
- name: Generate Pagefind search index
5555
run: npx pagefind --source "public"
5656
- name: Upload artifact
57-
uses: actions/upload-pages-artifact@v2
57+
uses: actions/upload-pages-artifact@v3
5858
with:
5959
path: ./public
6060

@@ -69,4 +69,4 @@ jobs:
6969
steps:
7070
- name: Deploy to GitHub Pages
7171
id: deployment
72-
uses: actions/deploy-pages@v2
72+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)