Update README.md #194
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: ci | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# Picture Support | |
- run: sudo apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Picture Support | |
- uses: actions/cache@v2 | |
with: | |
key: ${{ github.ref }}+20221117 | |
path: .cache | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
# Dependence | |
- run: pip install mkdocs-material | |
- run: pip install mkdocs-git-authors-plugin | |
- run: pip install mkdocs-git-revision-date-localized-plugin | |
- run: pip install mkdocs-static-i18n | |
- run: pip install mkdocs-glightbox | |
# Picture Support | |
- run: pip install pillow cairosvg | |
# build docs | |
- run: mkdocs build --clean | |
# - run: mkdocs gh-deploy --force | |
- run: | | |
date > generated.txt | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "generated" | |
git push |