Merge pull request #367 from Hacking-the-Cloud/update/new_branding #214
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy v2 | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
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@v3 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- 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 |