Debug documentation build

This commit is contained in:
squidfunk 2022-11-04 07:27:51 +01:00
parent 98b51db3cc
commit 2569d4f088

View File

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