Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Deploy MkDocs to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install Dependencies
run: |
pip install mkdocs mkdocs-material
- name: Build and Deploy
run: |
mkdocs gh-deploy --force