chore: fix documentation issue

This commit is contained in:
Hector Ventura committed 2026-03-18 11:56:38 -05:00
1 parent 3c7b1d4d04
commit f9608511b1
1 file changed
+3 -19
+3 -19
View File
@@ -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