From 91f11e032eff6b2aec7b347000820f2f6e6e008a Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 11 Mar 2023 20:12:43 +0100 Subject: Add steam deployment only if protected branch is built --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6bc8f59..53fc7bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,4 +77,6 @@ steam: artifacts: paths: - .steam_cache/ - when: manual + rules: + - if: $CI_COMMIT_REF_PROTECTED == "true" + when: manual -- cgit v1.1