Skip to content

Merge pull request #1438 from cambridge-cares/1437-ogm-handing-of-loo… #7

Merge pull request #1438 from cambridge-cares/1437-ogm-handing-of-loo…

Merge pull request #1438 from cambridge-cares/1437-ogm-handing-of-loo… #7

name: Deploy twa Python package docs
on:
push:
branches:
- main
paths:
- 'JPS_BASE_LIB/python_wrapper/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CUSTOM_DOMAIN: optionaldomain.com
CONFIG_FILE: JPS_BASE_LIB/python_wrapper/mkdocs.yml
EXTRA_PACKAGES: build-base
# GITHUB_DOMAIN: github.myenterprise.com
REQUIREMENTS: JPS_BASE_LIB/python_wrapper/twa_docs_deploy.txt