* check return types

* set site url

* change docs publish to tag, for now comment it out
This commit is contained in:
collerek
2024-02-12 19:25:44 +01:00
committed by GitHub
parent 3643239ac2
commit 7f3b15889f
4 changed files with 92 additions and 4 deletions

View File

@ -1,7 +1,9 @@
name: Build Documentation using MkDocs
on:
push:
branches: [ master ]
# Pattern matched against refs/tags
tags:
- '**'
jobs:
build:
name: Build and Deploy Documentation
@ -19,6 +21,12 @@ jobs:
poetry install --extras "all"
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Deploy
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Test
run: |
mkdocs gh-deploy --force
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
# - name: Deploy
# run: |
# mike deploy --push --update-aliases ${{ env.RELEASE_VERSION }} latest