diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2ffa5bb7a1..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: @@ -21,24 +15,29 @@ concurrency: jobs: # Build job build: - runs-on: ubuntu-20.04 + 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@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.101.0' + hugo-version: '0.141.0' # extended: true - name: Build run: hugo --minify - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: ./public @@ -48,8 +47,13 @@ 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@v2 + uses: actions/deploy-pages@v4 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