From 7142a2b3bfd894de4178c80eafe87dbef1c97ed7 Mon Sep 17 00:00:00 2001 From: Piotr Balcer Date: Tue, 21 Jan 2025 11:00:30 +0100 Subject: [PATCH 1/3] update hugo --- .github/workflows/gh-pages.yml | 2 +- ...y-Aware-Queue-Using-the-Persistent-Memory-Development-Kit.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2ffa5bb7a1..51dac44593 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -31,7 +31,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: '0.101.0' + hugo-version: '0.141.0' # extended: true - name: Build diff --git a/content/tutorials/Create-a-Persistent-Memory-Aware-Queue-Using-the-Persistent-Memory-Development-Kit.md b/content/tutorials/Create-a-Persistent-Memory-Aware-Queue-Using-the-Persistent-Memory-Development-Kit.md index f8c201941c..be84e273b3 100644 --- a/content/tutorials/Create-a-Persistent-Memory-Aware-Queue-Using-the-Persistent-Memory-Development-Kit.md +++ b/content/tutorials/Create-a-Persistent-Memory-Aware-Queue-Using-the-Persistent-Memory-Development-Kit.md @@ -3,7 +3,7 @@ title: "Create a Persistent Memory Aware Queue Using the Persistent Memory Development Kit" # Tutorial post date -date: 2018-30-12T23:06:17Z +date: 2018-12-30T23:06:17Z # Publish immediately draft: false From e6d622be822f03ef213223d8c7ef10cd52514237 Mon Sep 17 00:00:00 2001 From: Piotr Balcer Date: Tue, 21 Jan 2025 12:32:29 +0100 Subject: [PATCH 2/3] update actions --- .github/workflows/gh-pages.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 51dac44593..b68e73b00c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -21,15 +21,15 @@ concurrency: jobs: # Build job build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: hugo-version: '0.141.0' # extended: true @@ -38,7 +38,7 @@ jobs: run: hugo --minify - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: ./public @@ -52,4 +52,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 From 13492f12ac2839cd8ae398d7ed74e091960953a2 Mon Sep 17 00:00:00 2001 From: Piotr Balcer Date: Tue, 21 Jan 2025 12:38:26 +0100 Subject: [PATCH 3/3] change permissions scope --- .github/workflows/gh-pages.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index b68e73b00c..558a5cdc6c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -6,12 +6,6 @@ on: - main # Set a branch to deploy pull_request: -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: @@ -22,6 +16,11 @@ jobs: # Build job build: runs-on: ubuntu-latest + # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages + permissions: + contents: read + pages: write + id-token: write steps: - uses: actions/checkout@v4 with: @@ -48,6 +47,11 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest + # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages + permissions: + contents: read + pages: write + id-token: write needs: build steps: - name: Deploy to GitHub Pages