Update builds and tests

This commit is contained in:
Alex Norell committed 2024-12-11 11:14:11 -08:00
1 parent 3d62caf4f3
commit 40340ef8a6
4 files changed
+36 -6

No files matched your search

+2 -2
View File
@@ -50,10 +50,10 @@ jobs:
- name: 🚀 Deploy Development Docs
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
run: |
MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} mike deploy --push --update-aliases develop
MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} poetry run mike deploy --push develop
- name: 🚀 Deploy Release Docs
if: github.event_name == 'release' && github.event.action == 'published'
run: |
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} mike deploy --push --update-aliases $latest_tag latest
MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} poetry run mike deploy --push --update-aliases $latest_tag latest
+1 -1
View File
@@ -34,4 +34,4 @@ jobs:
- name: 🧪 Test Docs Build
run: |
mkdocs build --verbose
poetry run mkdocs build --verbose