Skip to content

Merge pull request #395 from mosesrenegade/main #234

Merge pull request #395 from mosesrenegade/main

Merge pull request #395 from mosesrenegade/main #234

Workflow file for this run

name: deploy v2
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
- run: pip install pillow cairosvg
- run: pip install mkdocs-minify-plugin
- run: pip install mkdocs-awesome-pages-plugin
- run: pip install mkdocs-redirects
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install mkdocs-git-committers-plugin-2
- run: pip install mkdocs-rss-plugin
- run: pip install --use-pep517 mkdocs-glightbox
- run: pip install git+https://${{ secrets.GH_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
- run: mkdocs gh-deploy --force --config-file mkdocs.insiders.yml