diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c82fc4..9a0de39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,9 +21,15 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: sudo apt-get install pngquant + - run: sudo apt-get install pngquant - run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git - run: pip install -r mkdocs/requirements.txt - - run: mkdocs gh-deploy --config-file mkdocs/mkdocs.yml --force + - run: | + mkdocs gh-deploy --config-file mkdocs/mkdocs.yml --force + git checkout gh-pages + echo "partners.fontlab.com" > CNAME + git add CNAME + git commit -m "Add CNAME" + git push origin gh-pages env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/mkdocs/mkdocs.yml b/mkdocs/mkdocs.yml index 778a6d4..beac713 100644 --- a/mkdocs/mkdocs.yml +++ b/mkdocs/mkdocs.yml @@ -34,7 +34,7 @@ theme: features: # - navigation.instant # - navigation.tracking - #- navigation.tabs + # - navigation.tabs - navigation.sections - navigation.top - search.suggest