Skip to content

Deploy docs

Deploy docs #11

Workflow file for this run

name: pages
run-name: Deploy docs
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip install mkdocs mkdocs-material
- run: cd docs
- run: mkdocs build -f mkdocs.yml
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: site
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2