Skip to content

Commit 6cf2158

Browse files
committed
Update Node version to 20 and upgrade GitHub Actions to v4
1 parent bb6faa5 commit 6cf2158

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Update the NODE_VERSION arg in docker-compose.yml to pick a Node version: 18, 16, 14
2-
ARG NODE_VERSION=16
2+
ARG NODE_VERSION=20
33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${NODE_VERSION}
44

55
# VARIANT can be either 'hugo' for the standard version or 'hugo_extended' for the extended version.

.github/workflows/gh_pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: hugo --minify
2424

2525
- name: Upload build artifacts
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: public
2929
path: ./public
@@ -34,13 +34,13 @@ jobs:
3434
if: github.ref == 'refs/heads/web'
3535
steps:
3636
- name: Download build artifacts
37-
uses: actions/download-artifact@v3
37+
uses: actions/download-artifact@v4
3838
with:
3939
name: public
4040
path: ./public
4141

4242
- name: Deploy
43-
uses: peaceiris/actions-gh-pages@v3
43+
uses: peaceiris/actions-gh-pages@v4
4444
with:
4545
github_token: ${{ secrets.GITHUB_TOKEN }}
4646
publish_dir: ./public

0 commit comments

Comments
 (0)