Skip to content

refactor(version): version v1.5 #69

refactor(version): version v1.5

refactor(version): version v1.5 #69

Workflow file for this run

name: Mkdocs Build
on:
push:
branches: [ "v1.*" ]
workflow_dispatch:
jobs:
mike-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUBTOKEN }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
pip install mike
- name: Config Git
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
- name: Build package
run: |
git fetch origin deploy:deploy
mike deploy --push --branch deploy --rebase v1.x
mike set-default --push --branch deploy --rebase v1.x