Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51732db

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 bccfec4 commit 51732db

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ commands:
9292
name: Bundle sphinx-gallery documentation artifacts
9393
command: tar cf doc/build/sphinx-gallery-files.tar.gz doc/api/_as_gen doc/gallery doc/tutorials
9494
when: always
95+
- store_artifacts:
96+
path: doc/build/sphinx-gallery-files.tar.gz
9597

9698

9799
##########################################
@@ -115,8 +117,6 @@ jobs:
115117
- doc-build
116118

117119
- doc-bundle
118-
- store_artifacts:
119-
path: doc/build/sphinx-gallery-files.tar.gz
120120

121121
- store_artifacts:
122122
path: doc/build/html
@@ -137,8 +137,6 @@ jobs:
137137
- doc-build
138138

139139
- doc-bundle
140-
- store_artifacts:
141-
path: doc/build/sphinx-gallery-files.tar.gz
142140

143141
- store_artifacts:
144142
path: doc/build/html
@@ -159,8 +157,6 @@ jobs:
159157
- doc-build
160158

161159
- doc-bundle
162-
- store_artifacts:
163-
path: doc/build/sphinx-gallery-files.tar.gz
164160

165161
- store_artifacts:
166162
path: doc/build/html

0 commit comments

Comments
 (0)