Skip to content

πŸ”€ Merge pull request #128 from astariul/update/pre-commit-hooks #86

πŸ”€ Merge pull request #128 from astariul/update/pre-commit-hooks

πŸ”€ Merge pull request #128 from astariul/update/pre-commit-hooks #86

Workflow file for this run

name: mike_dev
on:
push:
branches:
- main
jobs:
docs_dev_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[docs]
env:
GH_PAT: ${{ secrets.AUTH_TOKEN }}
- name: Setup doc deploy
run: |
git config --global user.name Docs-deploy
git config --global user.email [email protected]
- name: Build docs and push with mike
run: |
mike deploy --push --update-aliases master
version=$(pip show pytere | grep Version | cut -d ' ' -f 2)
mike retitle --push master $version