CI: replace deprecated “only” syntax by “rules:if”

parent 66a51135
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment