Merge pull request #179 from dispatchrun/use-proto-for-serialization-… #124
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: Docs | |
on: | |
push: | |
branches: | |
- main | |
- mkdocs | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
cache: pip | |
python-version: '3.11' | |
- run: make docs-deps | |
- name: Configure the git user | |
run: | | |
git config user.name "Stealth Rocket" | |
git config user.email "[email protected]" | |
- name: Build main branch | |
if: ${{ github.ref_name == 'main' }} | |
run: | | |
mike deploy --push main | |
- name: Build tagged version | |
if: ${{ github.ref_name != 'main' }} | |
run: | | |
mike deploy --push --update-aliases ${{ github.ref_name }} latest |