diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5aa1dd2e6..51ff401d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1383,7 +1383,7 @@ deploy: - job: write-manifest optional: true rules: - # Only deploy when source code changed (compile produced new binaries) + # Deploy when source code or infra manifests changed - if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push" changes: - crates/** @@ -1391,6 +1391,8 @@ deploy: - services/** - Cargo.toml - Cargo.lock + - infra/k8s/** + - .gitlab-ci.yml - if: $CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "api" before_script: # Install kubectl if not in image yet (removed once infra-runner is rebuilt)