Skip to content

Commit 4b8dc4c

Browse files
authored
Merge pull request #384 from pmem/revert-383-revert-382-update-hugo
Revert "Revert "Update hugo""
2 parents 3fd780b + 4ca945c commit 4b8dc4c

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

.github/workflows/gh-pages.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ on:
66
- main # Set a branch to deploy
77
pull_request:
88

9-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10-
permissions:
11-
contents: read
12-
pages: write
13-
id-token: write
14-
159
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1610
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1711
concurrency:
@@ -21,24 +15,29 @@ concurrency:
2115
jobs:
2216
# Build job
2317
build:
24-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
19+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
20+
permissions:
21+
contents: read
22+
pages: write
23+
id-token: write
2524
steps:
26-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2726
with:
2827
submodules: true # Fetch Hugo themes (true OR recursive)
2928
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
3029

3130
- name: Setup Hugo
32-
uses: peaceiris/actions-hugo@v2
31+
uses: peaceiris/actions-hugo@v3
3332
with:
34-
hugo-version: '0.101.0'
33+
hugo-version: '0.141.0'
3534
# extended: true
3635

3736
- name: Build
3837
run: hugo --minify
3938

4039
- name: Upload artifact
41-
uses: actions/upload-pages-artifact@v2
40+
uses: actions/upload-pages-artifact@v3
4241
with:
4342
path: ./public
4443

@@ -48,8 +47,13 @@ jobs:
4847
name: github-pages
4948
url: ${{ steps.deployment.outputs.page_url }}
5049
runs-on: ubuntu-latest
50+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
51+
permissions:
52+
contents: read
53+
pages: write
54+
id-token: write
5155
needs: build
5256
steps:
5357
- name: Deploy to GitHub Pages
5458
id: deployment
55-
uses: actions/deploy-pages@v2
59+
uses: actions/deploy-pages@v4

content/tutorials/Create-a-Persistent-Memory-Aware-Queue-Using-the-Persistent-Memory-Development-Kit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
title: "Create a Persistent Memory Aware Queue Using the Persistent Memory Development Kit"
44

55
# Tutorial post date
6-
date: 2018-30-12T23:06:17Z
6+
date: 2018-12-30T23:06:17Z
77

88
# Publish immediately
99
draft: false

0 commit comments

Comments
 (0)