Skip to content

Commit 61b2fc3

Browse files
committed
Circle: Remove redundant store_artifacts steps.
With re-usable commands, we can put those steps onto the command instead of in each job.
1 parent 0270088 commit 61b2fc3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.circleci/config.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ commands:
9494
name: Bundle sphinx-gallery documentation artifacts
9595
command: tar cf doc/build/sphinx-gallery-files.tar.gz doc/api/_as_gen doc/gallery doc/tutorials
9696
when: always
97+
- store_artifacts:
98+
path: doc/build/sphinx-gallery-files.tar.gz
9799

98100

99101
##########################################
@@ -117,8 +119,6 @@ jobs:
117119
- doc-build
118120

119121
- doc-bundle
120-
- store_artifacts:
121-
path: doc/build/sphinx-gallery-files.tar.gz
122122

123123
- store_artifacts:
124124
path: doc/build/html
@@ -139,8 +139,6 @@ jobs:
139139
- doc-build
140140

141141
- doc-bundle
142-
- store_artifacts:
143-
path: doc/build/sphinx-gallery-files.tar.gz
144142

145143
- store_artifacts:
146144
path: doc/build/html
@@ -161,8 +159,6 @@ jobs:
161159
- doc-build
162160

163161
- doc-bundle
164-
- store_artifacts:
165-
path: doc/build/sphinx-gallery-files.tar.gz
166162

167163
- store_artifacts:
168164
path: doc/build/html

0 commit comments

Comments
 (0)