chore(release): update version metadata for Mutiny 2.8.0 #49
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: Manual website deployment | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "!*" | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
publish-website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout code | |
with: | |
fetch-depth: 0 # fetch all commits and branches for mike to work properly | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- uses: actions/setup-python@v5 | |
name: Set up Python | |
with: | |
python-version-file: "documentation/pyproject.toml" | |
- name: Other tools setup | |
run: | | |
git config --global user.name "SmallRye CI" | |
git config --global user.email "[email protected]" | |
- name: Render docs and publish | |
run: | | |
export PROJECT_VERSION=$(cat .github/project.yml | yq eval '.release.current-version' -) | |
cd documentation | |
uv sync --all-extras --dev | |
uv run mkdocs build | |
uv run mike deploy --push --update-aliases $PROJECT_VERSION latest | |
uv run mike set-default --push latest |