summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-08 14:06:08 -0600
committermo khan <mo@mokhan.ca>2025-05-08 14:06:08 -0600
commit0bf8af27c976ada73bd91c8ce8010d69e5a61504 (patch)
treeaee50b0a36b922adf561a56a9ec2ef350d7ee935
parent03e9cb3140a17be634da7c374f7c4766cfebcb06 (diff)
chore: run deployment on default branch
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e871c32..fa3aeb4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,9 @@ variables:
include:
- project: 'gitlab-com/gl-infra/platform/runway/runwayctl'
file: 'ci-tasks/service-project/runway.yml'
+ rules:
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+ when: on_success
inputs:
runway_service_id: sparkle
image: "$CONTAINER_IMAGE_COMMIT"