Stop using mkdocs action and just build it manually

This commit is contained in:
Mustafa Gezen 2023-03-02 18:40:27 +01:00
parent 1601c21ac0
commit caab3e3360
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
1 changed files with 15 additions and 6 deletions

View File

@ -29,9 +29,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: web/mkdocs.yml
REQUIREMENTS: web/requirements.txt
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Build docs
run: |
cd web
pip3 install -r requirements.txt
mkdocs build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'web/site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1