From f189a342176838df9564537b38326882a14c1ded Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 11 Jan 2024 11:22:43 -0500 Subject: [PATCH] Backport PR #27634: circle: Make deploy stage into a normal step --- .circleci/config.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0668f436ddac..e120f95f5ee8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ # Circle CI configuration file # https://circleci.com/docs/ - +--- version: 2.1 @@ -197,6 +197,12 @@ commands: - store_artifacts: path: doc/build/sphinx-gallery-files.tar.gz + deploy-docs: + steps: + - run: + name: "Deploy new docs" + command: ./.circleci/deploy-docs.sh + ########################################## # Here is where the real jobs are defined. @@ -234,9 +240,7 @@ jobs: fingerprints: - "be:c3:c1:d8:fb:a1:0e:37:71:72:d7:a3:40:13:8f:14" - - deploy: - name: "Deploy new docs" - command: ./.circleci/deploy-docs.sh + - deploy-docs ######################################### # Defining workflows gets us parallelism.