Create mkdocs-deploy.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GitHub Pages | |
on: | |
push: | |
branches: [docs] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pip | |
run: sudo apt update && sudo apt install python3-pip | |
- name: Install mkdocs | |
run: pip install mkdocs | |
- name: Build & Deploy | |
run: mkdocs gh-deploy |