name: docs on: push: paths: - docs/** 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==8.5.11 mkdocs-redirects cd docs mkdocs gh-deploy --force