Skip to content

Git build mkdocs first #3

Git build mkdocs first

Git build mkdocs first #3

Workflow file for this run

name: Deploy mkdocs
on:
push:
branches:
- main
- soo-deploy-docs
# This is just for testing purposes and needs to be removed
# before merge
pull_request:
types:
- opened
- synchronize
env:
PYTHON_VERSION: "3.10"
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install mkdocs
run: pip install mkdocs
- name: Build and deploy docs
run: |
mkdocs build
mkdocs gh-deploy