Commit 43d0585 1 parent 11f399b commit 43d0585 Copy full SHA for 43d0585
File tree 1 file changed +13
-17
lines changed
1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -67,31 +67,27 @@ jobs:
67
67
cd ..;
68
68
69
69
70
- # Deploy docs
70
+ # Add stable doc
71
+ - run :
72
+ name : add stable doc
73
+ command : |
74
+ set -e
75
+ mkdir -p ~/.ssh
76
+ echo -e "Host *\nStrictHostKeyChecking no" > ~/.ssh/config
77
+ chmod og= ~/.ssh/config
78
+ cd doc;
79
+ make add-stable-doc;
80
+
81
+
82
+ # upload to gh-pages
71
83
- run :
72
84
name : deploy
73
85
command : |
74
86
if [[ ${CIRCLE_BRANCH} == "main" ]]; then
75
- set -e
76
- mkdir -p ~/.ssh
77
- echo -e "Host *\nStrictHostKeyChecking no" > ~/.ssh/config
78
- chmod og= ~/.ssh/config
79
- cd doc;
80
87
pip install ghp-import;
81
- make add-stable-doc
82
88
make install
83
89
fi
84
90
85
- # Add stable documentation
86
- - run :
87
- name : stable_doc
88
- command : |
89
- set -e
90
- mkdir -p ~/.ssh
91
- echo -e "Host *\nStrictHostKeyChecking no" > ~/.ssh/config
92
- chmod og= ~/.ssh/config
93
- cd doc;
94
- make add-stable-doc
95
91
96
92
# Save the outputs
97
93
- store_artifacts :
You can’t perform that action at this time.
0 commit comments