From bb144224a18ca1a632592dc49fec2e36b793295f Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 10 Jan 2024 21:48:28 -0500 Subject: [PATCH] circle: Make deploy stage into a normal step Circle is warning about this being deprecated: https://circleci.com/docs/migrate-from-deploy-to-run/ --- .circleci/config.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2f79a6fbba5c..995043c3e602 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ # Circle CI configuration file # https://circleci.com/docs/ - +--- version: 2.1 @@ -199,6 +199,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. @@ -236,9 +242,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.