Skip to content

Commit 497e5a0

Browse files
committed
More docs fixes
1 parent b3e68e1 commit 497e5a0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ jobs:
7373
&& git config user.email 'github-actions[bot]@users.noreply.github.com'
7474
7575
- name: Create Docs Cache ID
76-
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
76+
run: |
77+
source ~/conda/etc/profile.d/conda.sh \
78+
&& conda activate docs \
79+
echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
7780
7881
- name: Setup Docs Cache
7982
uses: actions/cache@v4
@@ -85,5 +88,7 @@ jobs:
8588
8689
- name: Deploy Docs
8790
run: |
88-
cd docs
89-
mkdocs gh-deploy --force
91+
source ~/conda/etc/profile.d/conda.sh \
92+
&& conda activate docs \
93+
&& cd docs \
94+
&& mkdocs gh-deploy --force

0 commit comments

Comments
 (0)