Merge pull request #292 from Hacking-the-Cloud/add_usage_info_for_sne… #161
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@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- uses: actions/cache@v2 | |
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 |