Skip to content

Commit

Permalink
Use conda activate
Browse files Browse the repository at this point in the history
  • Loading branch information
jayqi committed Mar 30, 2024
1 parent 9df1b3c commit 4b7846c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +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
conda activate .nox/docs
mike deploy --push ~latest --title=latest
deploy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +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
conda activate .nox/docs
mike deploy --push \
${{ steps.version.outputs.major_minor_version }}rc \
--title="${{ steps.version.outputs.major_minor_version }}rc"
Expand All @@ -78,7 +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
conda 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
Expand Down

0 comments on commit 4b7846c

Please sign in to comment.