Skip to content

Add GitHub Pages workflow #2

Add GitHub Pages workflow

Add GitHub Pages workflow #2

Workflow file for this run

name: Deploy mkdocs site to Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PAT }}
- uses: actions/setup-python@v2
- run: pip install -e mkdocs-material-insiders
- run: mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
user_name: GitHub Actions
user_email: