Skip to content

Add GitHub Actions workflow for MkDocs deployment #1

Add GitHub Actions workflow for MkDocs deployment

Add GitHub Actions workflow for MkDocs deployment #1

Workflow file for this run

name: Deploy MkDocs to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Dependencies
run: |
pip install mkdocs
- name: Build and Deploy
run: |
mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}