diff --git a/.github/requirements-docs.txt b/.github/requirements-docs.txt new file mode 100644 index 0000000..fbbd2be --- /dev/null +++ b/.github/requirements-docs.txt @@ -0,0 +1,2 @@ +mkdocs-material +termynal \ No newline at end of file diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d6d674d..70ac9c8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -36,7 +36,9 @@ jobs: - name: Build MkDocs site run: mkdocs build - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.FASTGEOAPI_GITHUB_TOKEN }} - publish_dir: ./docs_build/site + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.FASTGEOAPI_GITHUB_TOKEN }} + CONFIG_FILE: ./mkdocs.yml + EXTRA_PACKAGES: build-base + REQUIREMENTS: .github/requirements-docs.txt