Skip to content

Add version aliasing to the version selector #5

Add version aliasing to the version selector

Add version aliasing to the version selector #5

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Configure Git
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git fetch origin gh-pages:gh-pages
- name: Deploy documentation
run: |
VERSION=$(cat version.txt)
mike deploy --push --update-aliases $VERSION dev
mike set-default --push latest