Skip to content

Commit 3fd780b

Browse files
authored
Merge pull request #383 from pmem/revert-382-update-hugo
Revert "Update hugo"
2 parents 62519b6 + a09e531 commit 3fd780b

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

.github/workflows/gh-pages.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ 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+
915
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1016
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1117
concurrency:
@@ -15,29 +21,24 @@ concurrency:
1521
jobs:
1622
# Build job
1723
build:
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
24+
runs-on: ubuntu-20.04
2425
steps:
25-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v2
2627
with:
2728
submodules: true # Fetch Hugo themes (true OR recursive)
2829
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2930

3031
- name: Setup Hugo
31-
uses: peaceiris/actions-hugo@v3
32+
uses: peaceiris/actions-hugo@v2
3233
with:
33-
hugo-version: '0.141.0'
34+
hugo-version: '0.101.0'
3435
# extended: true
3536

3637
- name: Build
3738
run: hugo --minify
3839

3940
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v3
41+
uses: actions/upload-pages-artifact@v2
4142
with:
4243
path: ./public
4344

@@ -47,13 +48,8 @@ jobs:
4748
name: github-pages
4849
url: ${{ steps.deployment.outputs.page_url }}
4950
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
5551
needs: build
5652
steps:
5753
- name: Deploy to GitHub Pages
5854
id: deployment
59-
uses: actions/deploy-pages@v4
55+
uses: actions/deploy-pages@v2

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-12-30T23:06:17Z
6+
date: 2018-30-12T23:06:17Z
77

88
# Publish immediately
99
draft: false

0 commit comments

Comments
 (0)