Skip to content

🐛 Fixed gh-actions deploying #56

🐛 Fixed gh-actions deploying

🐛 Fixed gh-actions deploying #56

Workflow file for this run

name: Build docs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: 'pip'
- name: Install mk-docs
run: pip install -r requirements.txt
- name: Build
run: mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
force_orphan: true