Bump version to 3.0.0a1 #17
Workflow file for this run
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: Build & Deploy Docs | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.action_path }}-${{ github.ref }}-build-n-deploy-docs | |
cancel-in-progress: false | |
jobs: | |
run-build-n-deploy-docs: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.8"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3.6.0 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4.7.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: "x64" | |
- name: Install Poetry | |
run: pip install poetry==1.6.1 | |
- name: Install dependencies | |
run: poetry install --with=docs --no-cache --sync | |
- name: Configure Git | |
run: | | |
git config user.name github-actions | |
git config user.email argmaster.world@gmail.com | |
- name: Run build & deploy documentation | |
run: | | |
poetry run mike deploy --push --update-aliases $(poetry version | awk '{ print $2 }') latest -F mkdocs.yaml |