Merge pull request #808 from revit13/kuberayv #429
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-22.04 | |
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 |