Skip to content

make docs full pages (#288) #28

make docs full pages (#288)

make docs full pages (#288) #28

Workflow file for this run

name: Update gh-pages branch
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'mkdocs.yaml'
- 'docs/**'
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install mkdocs
run: pip install mkdocs
- name: Deploy docs
run: python3 -m mkdocs gh-deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}