From 4e93a049cdec12fc5d1ae7eef3e4022a3ae7fe67 Mon Sep 17 00:00:00 2001 From: Fischer Moseley <42497969+fischermoseley@users.noreply.github.com> Date: Sun, 6 Oct 2024 11:25:14 -0600 Subject: [PATCH] docs: deploy using mike in CI --- .github/workflows/build_docs.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 246a7af..a88add9 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -17,5 +17,5 @@ jobs: with: key: ${{ github.ref }} path: .cache - - run: pip install mkdocs-material - - run: mkdocs gh-deploy --force + - run: pip install mkdocs-material mike + - run: mike deploy --push latest diff --git a/Makefile b/Makefile index 9410d21..01c406b 100644 --- a/Makefile +++ b/Makefile @@ -9,4 +9,4 @@ clean: git clean -Xdf preview_site: - mkdocs serve + mike serve