Skip to content

Merge pull request #29 from astariul/dependabot/github_actions/action… #45

Merge pull request #29 from astariul/dependabot/github_actions/action…

Merge pull request #29 from astariul/dependabot/github_actions/action… #45

Workflow file for this run

name: mike_dev
on:
push:
branches:
- main
jobs:
build:
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 docs@dummy.bot.com
- name: Build docs and push with mike
run: |
mike deploy --push --update-aliases master
version=$(pip show gibbs | grep Version | cut -d ' ' -f 2)
mike retitle --push master $version