Skip to content

Updated CI checkout action and Python #126

Updated CI checkout action and Python

Updated CI checkout action and Python #126

Workflow file for this run

# Generate documentation and publish to GitHub Pages
name: Publish
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11.x
- name: Install mkdocs
run: pip install -r requirements.txt
- name: Build documentation
run: mkdocs build --strict
- name: Publish documentation
if: github.event.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
publish_dir: site
cname: docs.0install.net