From a09e5316a071554811e46136e10992dba7f6197a Mon Sep 17 00:00:00 2001 From: Piotr Balcer Date: Wed, 22 Jan 2025 08:43:38 +0100 Subject: [PATCH] Revert "Update hugo" --- .github/workflows/gh-pages.yml | 28 ++++++++----------- ...g-the-Persistent-Memory-Development-Kit.md | 2 +- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 558a5cdc6c..2ffa5bb7a1 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -6,6 +6,12 @@ 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: @@ -15,29 +21,24 @@ concurrency: 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 + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 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@v3 + uses: peaceiris/actions-hugo@v2 with: - hugo-version: '0.141.0' + hugo-version: '0.101.0' # extended: true - name: Build run: hugo --minify - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v2 with: path: ./public @@ -47,13 +48,8 @@ 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 id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v2 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 be84e273b3..f8c201941c 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-12-30T23:06:17Z +date: 2018-30-12T23:06:17Z # Publish immediately draft: false