Skip to content

docs: init(rebirth) 2 #83

docs: init(rebirth) 2

docs: init(rebirth) 2 #83

Workflow file for this run

name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: sudo apt-get update
- run: sudo apt-get install texlive-xetex
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install mkdocs-heti-plugin
- run: git clone https://github.com/TonyCrane/mkdocs-toolchain.git
- run: pip install -e mkdocs-toolchain/mkdocs-tikzautomata-plugin
- run: mkdir cache
- run: mkdocs gh-deploy --force
- name: 🗑 Delete deployment
uses: strumwolf/delete-deployment-environment@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: github-pages
onlyRemoveDeployments: true