Update DOI #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate main documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docs-main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: pip install -r docs/docs_requirements.txt | |
- name: Setup doc deploy | |
run: | | |
git config --global user.name Docs deploy | |
git config --global user.email [email protected] | |
- name: Build docs website | |
run: mike deploy main --push && mike set-default --push main |