From 9a9606322f02f6c2dc01699c32e6022d91073d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 20 Jan 2020 18:05:26 +0100 Subject: [PATCH] =?UTF-8?q?CI:=20replace=20deprecated=20=E2=80=9Conly?= =?UTF-8?q?=E2=80=9D=20syntax=20by=20=E2=80=9Crules:if=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ed153b77..acf5c4d00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -201,8 +201,10 @@ test_dynare++: deploy_manual_unstable: stage: deploy - only: - - master@Dynare/dynare + rules: + - if: '$CI_PROJECT_NAMESPACE == "Dynare" && $CI_COMMIT_REF_NAME == "master"' + when: on_success + - when: never tags: - restricted dependencies: @@ -214,8 +216,10 @@ deploy_manual_unstable: deploy_snapshot_unstable: stage: deploy - only: - - master@Dynare/dynare + rules: + - if: '$CI_PROJECT_NAMESPACE == "Dynare" && $CI_COMMIT_REF_NAME == "master"' + when: on_success + - when: never tags: - restricted dependencies: