diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 000000000..6b8d160ac --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,20 @@ +name: Deploy docs to GitHub Pages + +on: + push: + branches: + - main + +jobs: + deploy: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v2 + + - name: Deploy MkDocs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REQUIREMENTS: ./requirements.docs.txt diff --git a/requirements.docs.txt b/requirements.docs.txt new file mode 100644 index 000000000..00707e027 --- /dev/null +++ b/requirements.docs.txt @@ -0,0 +1 @@ +mkdocs-material==9.5.3