Skip to content

Merge pull request #807 from tobby-s/FEAT-configdir #65

Merge pull request #807 from tobby-s/FEAT-configdir

Merge pull request #807 from tobby-s/FEAT-configdir #65

Workflow file for this run

name: documentation
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
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 -r docs/requirements.txt
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Setup doc deploy
run: |
git config --global user.name vektra-bot
git config --global user.email [email protected]
git fetch origin gh-pages --depth=1
- name: Deploy docs
run: "mike deploy --push --update-aliases $(echo ${{ github.ref_name }} | cut -d'.' -f1-2 ) latest"
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}