Skip to content

Merge pull request #747 from pankajskku/dev-pankaj #424

Merge pull request #747 from pankajskku/dev-pankaj

Merge pull request #747 from pankajskku/dev-pankaj #424

Workflow file for this run

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