From 431e09f15978daa75896b9ffe627082391bb818c Mon Sep 17 00:00:00 2001 From: Daniel Sucerquia <45401676+Sucerquia@users.noreply.github.com> Date: Fri, 16 Jan 2026 15:55:58 +0100 Subject: [PATCH] DOC: new trial --- .github/workflows/jekyll-gh-pages.yml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index d00c987..fcc4b83 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -6,7 +6,16 @@ on: workflow_dispatch: permissions: - contents: write + 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: + group: "pages" + cancel-in-progress: false + jobs: docs: @@ -43,9 +52,15 @@ jobs: cd doc make html + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: doc/html + id: deployment + uses: actions/deploy-pages@v4