From f9608511b1ff280f1668a51f0bdcd63b471badbe Mon Sep 17 00:00:00 2001 From: Hector Ventura Date: Wed, 18 Mar 2026 11:56:38 -0500 Subject: [PATCH] chore: fix documentation issue --- .github/workflows/docs.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7861c53df9..2b643a1b64 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,7 +10,7 @@ on: - "mkdocs.yml" permissions: - contents: read + contents: write jobs: deploy: @@ -26,21 +26,5 @@ jobs: - name: Install MkDocs run: pip install -r docs/requirements.txt - - name: Build docs - run: mkdocs build --site-dir site - - - name: Deploy to hectorvent.github.io/static/floci - env: - PAGES_TOKEN: ${{ secrets.PAGES_TOKEN }} - run: | - git clone --depth=1 https://x-access-token:${PAGES_TOKEN}@github.com/hectorvent/hectorvent.github.io.git pages-repo - - rm -rf pages-repo/static/floci - cp -r site pages-repo/static/floci - - cd pages-repo - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add static/floci/ - git diff --cached --quiet || git commit -m "docs: update floci docs" - git push + - name: Deploy to GitHub Pages + run: mkdocs gh-deploy --force