From 63853ab7063a4f2751d11c69ee4891e0a9279327 Mon Sep 17 00:00:00 2001 From: Norwin Schnyder Date: Mon, 24 Jun 2024 07:36:24 +0000 Subject: [PATCH] Update workflow --- .github/workflows/gh-pages.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2f5f878..52cc098 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,15 +7,17 @@ on: jobs: deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 + permissions: + contents: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.7' architecture: 'x64' @@ -30,7 +32,7 @@ jobs: run: mkdocs build - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./site