Update test-ci.yml #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish the documentation of integration of OCR-D and Kitodo | |
on: | |
push: | |
branches: | |
- main | |
- mkdocs-material | |
workflow_dispatch: # run manually | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Build environment variable markdown files | |
run: ./.github/scripts/build-env-mds.sh | |
shell: bash | |
- run: pip install mkdocs-material | |
- run: pip install mkdocs-monorepo-plugin | |
- run: pip install mkdocs-macros-plugin | |
- run: pip install mkdocs-exclude-search | |
- run: mkdocs build --theme material | |
- run: mkdocs gh-deploy --force |