Skip to content

Commit

Permalink
docs(mkdocs): deploy mkdocs (#66)
Browse files Browse the repository at this point in the history
* deploy mkdocs

* linting

* tie to 22.04
  • Loading branch information
nikola-milosa authored Jan 16, 2024
1 parent 31bb6df commit cdbe31f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy MkDocs

on:
push:
paths:
- 'docs/**'
branches:
- main

jobs:
deploy:
runs-on: ubuntu-22.04

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material
- name: Deploy to GitHub Pages
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
mkdocs gh-deploy --force

0 comments on commit cdbe31f

Please sign in to comment.