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

Skip to content

Commit a74ee49

Browse files
authored
Merge pull request #27634 from QuLogic/fix-circle-warning
circle: Make deploy stage into a normal step
2 parents b55c5bb + bb14422 commit a74ee49

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.circleci/config.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Circle CI configuration file
22
# https://circleci.com/docs/
3-
3+
---
44
version: 2.1
55

66

@@ -199,6 +199,12 @@ commands:
199199
- store_artifacts:
200200
path: doc/build/sphinx-gallery-files.tar.gz
201201

202+
deploy-docs:
203+
steps:
204+
- run:
205+
name: "Deploy new docs"
206+
command: ./.circleci/deploy-docs.sh
207+
202208

203209
##########################################
204210
# Here is where the real jobs are defined.
@@ -236,9 +242,7 @@ jobs:
236242
fingerprints:
237243
- "be:c3:c1:d8:fb:a1:0e:37:71:72:d7:a3:40:13:8f:14"
238244

239-
- deploy:
240-
name: "Deploy new docs"
241-
command: ./.circleci/deploy-docs.sh
245+
- deploy-docs
242246

243247
#########################################
244248
# Defining workflows gets us parallelism.

0 commit comments

Comments
 (0)