From 62ab27316e58ded2c902d277a1285ffa706350f4 Mon Sep 17 00:00:00 2001 From: Marius van Niekerk Date: Thu, 10 Nov 2022 15:22:42 -0500 Subject: [PATCH] use native mkdocs deployment --- .github/workflows/docs.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 20b9f4c..16c1183 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,9 +11,14 @@ jobs: steps: - name: Checkout master uses: actions/checkout@v3 - - - name: Deploy docs - uses: mhausenblas/mkdocs-deploy-gh-pages@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REQUIREMENTS: .github/workflows/requirements-docs.txt \ No newline at end of file + - uses: actions/setup-python@v2 + with: + python-version: "3.10" + - run: pip install mkdocs mkdocs-material mkdocs-typer + - run: pip install . + - run: mkdocs gh-deploy --force + # - name: Deploy docs + # uses: mhausenblas/mkdocs-deploy-gh-pages@master + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # REQUIREMENTS: .github/workflows/requirements-docs.txt