Skip to content

Merge pull request #22 from shivdeep-singh-ibm/update-gh-actions-work… #12

Merge pull request #22 from shivdeep-singh-ibm/update-gh-actions-work…

Merge pull request #22 from shivdeep-singh-ibm/update-gh-actions-work… #12

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: |
# remove badges
cat README.md |sed '/img\.shields\.io/d' > ./data-processing-lib/doc/index.md
# copy repo docs to mkdocs `docs_dir`
cp doc/* ./data-processing-lib/doc/
# copy kfp tutorials to mkdocs `docs_dir`
cp kfp/doc/* ./data-processing-lib/doc/
cd data-processing-lib && mkdocs gh-deploy --force