Skip to content

Commit 2d97dab

Browse files
committed
Revert test doc change
I merged this by accident.
1 parent 1ae56e2 commit 2d97dab

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/deploy_docs.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Deploy documentation
22

33
on:
4-
pull_request:
54
push:
65
branches:
76
- main
@@ -50,9 +49,9 @@ jobs:
5049
python3 scripts/get_docs_version.py > version.json
5150
cat version.json
5251
echo "VERSION=$(cat version.json)" >> $GITHUB_ENV
53-
# - name: Deploy latest docs
54-
# if: fromJson(env.VERSION).type == 'latest'
55-
# run: mike deploy --push latest
56-
# - name: Deploy stable docs
57-
# if: fromJson(env.VERSION).type == 'stable'
58-
# run: mike deploy --push -u --no-redirect ${{ fromJson(env.VERSION).version }} stable
52+
- name: Deploy latest docs
53+
if: fromJson(env.VERSION).type == 'latest'
54+
run: mike deploy --push latest
55+
- name: Deploy stable docs
56+
if: fromJson(env.VERSION).type == 'stable'
57+
run: mike deploy --push -u --no-redirect ${{ fromJson(env.VERSION).version }} stable

0 commit comments

Comments
 (0)