From 9df1b3c0bfdfd381e0f97eae18623c4b0f9b73b1 Mon Sep 17 00:00:00 2001 From: Jay Qi Date: Sat, 30 Mar 2024 18:14:35 -0400 Subject: [PATCH] Activate docs environment --- .github/workflows/docs-main.yml | 1 + .github/workflows/release.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/docs-main.yml b/.github/workflows/docs-main.yml index 8b9b90bb..f8a8f7a4 100644 --- a/.github/workflows/docs-main.yml +++ b/.github/workflows/docs-main.yml @@ -34,6 +34,7 @@ jobs: git fetch origin gh-pages --depth=1 git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com + source activate .nox/docs mike deploy --push ~latest --title=latest deploy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccbc8c15..6153f431 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,7 @@ jobs: git fetch origin gh-pages --depth=1 git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com + source activate .nox/docs mike deploy --push \ ${{ steps.version.outputs.major_minor_version }}rc \ --title="${{ steps.version.outputs.major_minor_version }}rc" @@ -77,6 +78,7 @@ jobs: git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com # Rename old stable version + source activate .nox/docs mike list -j | jq OLD_STABLE=$(mike list -j | jq -r '.[] | select(.aliases | index("stable")) | .title' | awk '{print $1;}') echo $OLD_STABLE