Skip to content

chore: use python 3.10 in doc deploy workflows (#178) #3

chore: use python 3.10 in doc deploy workflows (#178)

chore: use python 3.10 in doc deploy workflows (#178) #3

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[docs]
- name: Setup doc deploy
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email github-actions[bot]@users.noreply.github.com
- name: Build and deploy docs to gh-pages
run: |
mike deploy --update-aliases --push --remote origin main development