From 84698ab74384abf1638c06f8dc092b01bef57caa Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 9 Apr 2026 08:54:15 +0000 Subject: [PATCH 1/7] Update .github/workflows/docs.yml --- .github/workflows/docs.yml | 37 +++++++++++-------------------------- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ebfb00a..0fc98c6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,4 +1,4 @@ -name: Deploy GitHub Pages +name: Deploy Gitea Pages on: push: @@ -8,17 +8,8 @@ on: - 'mkdocs.yml' workflow_dispatch: -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - jobs: - build: + build-and-deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -32,18 +23,12 @@ jobs: - run: mkdocs build - - uses: actions/configure-pages@v5 - - - uses: actions/upload-pages-artifact@v3 - with: - path: './site' - - deploy: - needs: build - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - id: deployment - uses: actions/deploy-pages@v4 + - name: Deploy to Gitea Pages + run: | + cd site + git init + git config user.name "github-actions" + git config user.email "actions@forteapps.net" + git add . + git commit -m "Deploy docs" + git push --force "https://x-token:${{ secrets.PAGES_TOKEN }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages From 61184f6fdfdcfccec06ba3de14a75e54f5fda65a Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 9 Apr 2026 08:58:00 +0000 Subject: [PATCH 2/7] Update .github/workflows/docs.yml --- .github/workflows/docs.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0fc98c6..000744a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,13 +11,10 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest + container: python:3.12-slim steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - name: Install dependencies run: pip install mkdocs mkdocs-material @@ -27,7 +24,7 @@ jobs: run: | cd site git init - git config user.name "github-actions" + git config user.name "gitea-actions" git config user.email "actions@forteapps.net" git add . git commit -m "Deploy docs" From 643c0aaf9bb3022681dfe8d19d0713e74e3c9b02 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 9 Apr 2026 09:00:24 +0000 Subject: [PATCH 3/7] Update .github/workflows/docs.yml --- .github/workflows/docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 000744a..51841d1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,12 +11,11 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest - container: python:3.12-slim steps: - uses: actions/checkout@v4 - name: Install dependencies - run: pip install mkdocs mkdocs-material + run: pip3 install mkdocs mkdocs-material - run: mkdocs build From 665e4020ba08925a45703674fbd5c228fe33eaf3 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 9 Apr 2026 09:01:37 +0000 Subject: [PATCH 4/7] Update .github/workflows/docs.yml --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 51841d1..bd8c265 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies - run: pip3 install mkdocs mkdocs-material + run: python3 -m pip install mkdocs mkdocs-material - run: mkdocs build From 1c6a0a1b2feebd211e7cfcd9b42d03d122b16c06 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 9 Apr 2026 09:02:58 +0000 Subject: [PATCH 5/7] Update .github/workflows/docs.yml --- .github/workflows/docs.yml | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bd8c265..fbf6b2a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,29 +2,33 @@ name: Deploy Gitea Pages on: push: - branches: [main] + branches: [ main ] paths: - - 'docs/**' - - 'mkdocs.yml' + - 'docs/**' + - 'mkdocs.yml' workflow_dispatch: + jobs: build-and-deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Install dependencies - run: python3 -m pip install mkdocs mkdocs-material + - name: Install dependencies + run: | + apt-get update -qq + apt-get install -y -qq python3-pip + pip3 install mkdocs mkdocs-material - - run: mkdocs build + - run: mkdocs build - - name: Deploy to Gitea Pages - run: | - cd site - git init - git config user.name "gitea-actions" - git config user.email "actions@forteapps.net" - git add . - git commit -m "Deploy docs" - git push --force "https://x-token:${{ secrets.PAGES_TOKEN }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages + - name: Deploy to Gitea Pages + run: | + cd site + git init + git config user.name "gitea-actions" + git config user.email "actions@forteapps.net" + git add . + git commit -m "Deploy docs" + git push --force "https://x-token:${{ secrets.PAGES_TOKEN }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages From f90833711d11efceac4a03bf4c722dc58d0ec942 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 9 Apr 2026 09:05:12 +0000 Subject: [PATCH 6/7] Update .github/workflows/docs.yml --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fbf6b2a..8649b21 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,7 +19,7 @@ jobs: run: | apt-get update -qq apt-get install -y -qq python3-pip - pip3 install mkdocs mkdocs-material + pip3 install --break-system-packages mkdocs mkdocs-material - run: mkdocs build From 02d5b3eb5a1d0c4211cc760d3432576ce68d4678 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Thu, 9 Apr 2026 09:11:16 +0000 Subject: [PATCH 7/7] Update .github/workflows/docs.yml --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8649b21..4d9dbf1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,4 +31,4 @@ jobs: git config user.email "actions@forteapps.net" git add . git commit -m "Deploy docs" - git push --force "https://x-token:${{ secrets.PAGES_TOKEN }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages + git push --force "https://x-token:${{ secrets.GITEA_TOKEN }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages