Debug documentation build

This commit is contained in:
squidfunk 2022-11-04 07:17:17 +01:00
parent 18c5e9aaad
commit 98b51db3cc

View File

@ -75,12 +75,15 @@ 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
cp mkdocs-material-insiders/mkdocs.yml mkdocs.yml cd mkdocs-material-insiders
rm -rf docs
ln -s ../docs
- 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