diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index c2afe6c16..719662813 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -75,15 +75,14 @@ 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 - cd mkdocs-material-insiders - rm -rf docs - ln -s ../docs + cp mkdocs-material-insiders/mkdocs.yml mkdocs.yml + rm -rf material + cp -r mkdocs-material-insiders/material material - 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