Merge pull request #682 from IBM/dev1-singlepackage-p3.12 #1
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: deploy docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "dev" | |
- "releases/**" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
REPO_URL: "https://github.com/${{ github.repository }}" | |
REPO_BRANCH: "dev" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material mkdocstrings[python] mkdocs-badges mkdocs-same-dir | |
- run: | | |
# remove badges | |
cat README.md |sed '/img\.shields\.io/d' > README_.md | |
mv README_.md README.md | |
mkdocs gh-deploy --force |