diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index bc75e0bf4..c2afe6c16 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -75,12 +75,15 @@ jobs: # in the publishing guide – see https://bit.ly/3zjdJtw git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git pip install -e mkdocs-material-insiders - cp mkdocs-material-insiders/mkdocs.yml mkdocs.yml + cd mkdocs-material-insiders + rm -rf docs + ln -s ../docs - name: Deploy documentation env: GH_TOKEN: ${{ secrets.GH_TOKEN }} GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} run: | + cd mkdocs-material-insiders mkdocs gh-deploy --force mkdocs --version