From cef847e05c5e112f0fac77b21b3c117b69906d59 Mon Sep 17 00:00:00 2001 From: Gustavo Meyer Date: Wed, 30 Sep 2026 12:32:29 -0400 Subject: [PATCH 1/7] Draft Update documentation.yml --- .github/workflows/documentation.yml | 49 ++++++++++++++++------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index a820ae6..3cff603 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -6,27 +6,21 @@ on: branches: - master +permissions: + contents: read + jobs: - documentation: + build: runs-on: ubuntu-latest - name: Documentation - - strategy: - fail-fast: false - matrix: - python-version: - [ - '3.10' - ] steps: - uses: actions/checkout@v3 - - name: Setup Python ${{ matrix.python-version }} + - name: Setup Python uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} - cache: 'pip' + python-version: "3.10" + cache: pip - name: Install tools run: make build @@ -37,11 +31,24 @@ jobs: - name: Generate Documentation run: make docs - - name: Push - uses: s0/git-publish-subdir-action@develop - env: - REPO: self - BRANCH: gh-pages - FOLDER: doc/_build/html - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MESSAGE: "Documentation updated" + - name: Upload Pages artifact + uses: actions/upload-pages-artifact@v4 + with: + path: doc/_build/html + + deploy: + needs: build + runs-on: ubuntu-latest + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From 2ca0dbc57d24912174d387dc5edc4e287a1428c8 Mon Sep 17 00:00:00 2001 From: Gustavo Meyer Date: Wed, 30 Sep 2026 12:37:54 -0400 Subject: [PATCH 2/7] Update documentation.yml --- .github/workflows/documentation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3cff603..84862fc 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -5,7 +5,10 @@ on: push: branches: - master - + - support/SDK-V3 + - feature/** + - bugfix/** + - dependabot/** permissions: contents: read From 3ddb1e96ae38b30c817d75bf8394e9329b554a5f Mon Sep 17 00:00:00 2001 From: Gustavo Meyer Date: Wed, 30 Sep 2026 13:28:44 -0400 Subject: [PATCH 3/7] Update documentation.yml --- .github/workflows/documentation.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 84862fc..cb38e0c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -2,6 +2,7 @@ name: Update Documentation on: workflow_dispatch: + push: branches: - master @@ -9,15 +10,22 @@ on: - feature/** - bugfix/** - dependabot/** + permissions: contents: read +concurrency: + group: pages + cancel-in-progress: true + jobs: build: + name: Build documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4 @@ -31,15 +39,17 @@ jobs: - name: Clean run: make dev - - name: Generate Documentation + - name: Generate documentation run: make docs - name: Upload Pages artifact uses: actions/upload-pages-artifact@v4 with: + name: github-pages path: doc/_build/html deploy: + name: Deploy documentation needs: build runs-on: ubuntu-latest From 345a04e4b7b457ea1fe659a1e04b4ab9996f3eaa Mon Sep 17 00:00:00 2001 From: Gustavo Meyer Date: Wed, 30 Sep 2026 13:29:14 -0400 Subject: [PATCH 4/7] Update documentation.yml From 4cd0b576601a3aaef79783337b8046fbbb645fab Mon Sep 17 00:00:00 2001 From: Gustavo Meyer Date: Wed, 30 Sep 2026 13:30:17 -0400 Subject: [PATCH 5/7] Update documentation.yml --- .github/workflows/documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index cb38e0c..3d9c22e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -50,6 +50,7 @@ jobs: deploy: name: Deploy documentation + if: github.ref == 'refs/heads/master' needs: build runs-on: ubuntu-latest From 65120568c2fa5eb89b61213a550fc7a669494cc7 Mon Sep 17 00:00:00 2001 From: Gustavo Meyer Date: Wed, 30 Sep 2026 15:09:56 -0400 Subject: [PATCH 6/7] Update documentation.yml --- .github/workflows/documentation.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3d9c22e..15e2edd 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -6,10 +6,6 @@ on: push: branches: - master - - support/SDK-V3 - - feature/** - - bugfix/** - - dependabot/** permissions: contents: read From 3842ea7e9901ad0b84ec08252b638b7ca3dc640b Mon Sep 17 00:00:00 2001 From: Gustavo Meyer Date: Wed, 30 Sep 2026 15:10:15 -0400 Subject: [PATCH 7/7] Update documentation.yml --- .github/workflows/documentation.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 15e2edd..d8a0f0e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -46,7 +46,6 @@ jobs: deploy: name: Deploy documentation - if: github.ref == 'refs/heads/master' needs: build runs-on: ubuntu-latest