Skip to content

Merge pull request #15 from shivdeep-singh-ibm/enable_mkdocs_document… #4

Merge pull request #15 from shivdeep-singh-ibm/enable_mkdocs_document…

Merge pull request #15 from shivdeep-singh-ibm/enable_mkdocs_document… #4

Workflow file for this run

name: deploy docs
on:
workflow_dispatch:
push:
branches:
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocstrings[python] mkdocs-badges
- run: |
cp README.md ./data-processing-lib/doc/index.md
# remove badges
cat README.md |sed '/img\.shields\.io/d' > ./data-processing-lib/doc/index_.md
cp doc/* ./data-processing-lib/doc/
cd data-processing-lib && mkdocs gh-deploy --force