Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Error in .gitlab-ci.yml, cannot combimne rules: and only:

Michal Rutkaf0f7195681ad
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 95b72e00e..bfca3fe71 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -129,8 +129,7 @@ delete aws cloudformation stack:
- aws cloudformation wait stack-delete-complete --stack-name $AWS_STACK_NAME
allow_failure: true # set when:manual optional and not blocking
rules:
+ - if: $CI_COMMIT_BRANCH == "master"
- when: delayed
start_in: '8 hours'
- when: manual
- only:
- - master