Skip to content

Commit cc56c7b

Browse files
committed
ci: Bundle and store sphinx-gallery artifacts also.
1 parent 9b05b6c commit cc56c7b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎.circleci/config.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ doc-run: &doc-build
7070
command: python make.py html
7171
working_directory: doc
7272

73+
doc-bundle-run: &doc-bundle
74+
name: Bundle sphinx-gallery documentation artifacts
75+
command: tar cf doc/build/sphinx-gallery-files.tar.gz doc/api/_as_gen doc/gallery doc/tutorials
76+
when: always
77+
7378

7479
##########################################
7580
# Here is where the real jobs are defined.
@@ -91,6 +96,10 @@ jobs:
9196

9297
- run: *doc-build
9398

99+
- run: *doc-bundle
100+
- store_artifacts:
101+
path: doc/build/sphinx-gallery-files.tar.gz
102+
94103
- store_artifacts:
95104
path: doc/build/html
96105

@@ -132,6 +141,10 @@ jobs:
132141
command: ~/.local/bin/linkchecker build/html/index.html
133142
working_directory: doc
134143

144+
- run: *doc-bundle
145+
- store_artifacts:
146+
path: doc/build/sphinx-gallery-files.tar.gz
147+
135148
- store_artifacts:
136149
path: doc/build/html
137150

0 commit comments

Comments
 (0)