Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: collerek <collerek@gmail.com>
33 lines
899 B
YAML
33 lines
899 B
YAML
name: Build Documentation using MkDocs
|
|
on:
|
|
push:
|
|
# Pattern matched against refs/tags
|
|
tags:
|
|
- '**'
|
|
jobs:
|
|
build:
|
|
name: Build and Deploy Documentation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Master
|
|
uses: actions/checkout@v4
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.8'
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install poetry==1.4.1
|
|
poetry install --extras "all"
|
|
env:
|
|
POETRY_VIRTUALENVS_CREATE: false
|
|
- name: Set env
|
|
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
|
- name: Test
|
|
run: |
|
|
echo $RELEASE_VERSION
|
|
echo ${{ env.RELEASE_VERSION }}
|
|
- name: Deploy
|
|
run: |
|
|
mike deploy --push --update-aliases ${{ env.RELEASE_VERSION }} latest
|