We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ae56e2 commit 2d97dabCopy full SHA for 2d97dab
1 file changed
.github/workflows/deploy_docs.yml
@@ -1,7 +1,6 @@
1
name: Deploy documentation
2
3
on:
4
- pull_request:
5
push:
6
branches:
7
- main
@@ -50,9 +49,9 @@ jobs:
50
49
python3 scripts/get_docs_version.py > version.json
51
cat version.json
52
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
+ - name: Deploy latest docs
+ if: fromJson(env.VERSION).type == 'latest'
+ run: mike deploy --push latest
+ - name: Deploy stable docs
+ if: fromJson(env.VERSION).type == 'stable'
+ run: mike deploy --push -u --no-redirect ${{ fromJson(env.VERSION).version }} stable
0 commit comments