Skip to content

armgit / floci

Public Imported from GitHub
0

Light, fluffy, and always free - The AWS Local Emulator alternative

chore: fix documentation issue

Hector Venturaf9608511b1ff
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