name: Generate Documents on: push: branches: - dev paths: - docs - .github/workflows/mkdocs.yml 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 - run: mkdocs gh-deploy -m "{sha}" -b "docs" --force --ignore-version --no-history