diff --git a/jobs/helm-chart-generate-and-push-to-local-repository.gitlab-ci.yml b/jobs/helm-chart-generate-and-push-to-local-repository.gitlab-ci.yml index bf26964..f6a8135 100644 --- a/jobs/helm-chart-generate-and-push-to-local-repository.gitlab-ci.yml +++ b/jobs/helm-chart-generate-and-push-to-local-repository.gitlab-ci.yml @@ -20,4 +20,11 @@ Generate and Push Kubernetes Manifests: --output-dir /tmp/manifests - mv /tmp/manifests/${HELM_CHART_NAME}/templates/*.yaml .k8s/${ENVIRONMENT}/manifests/ - rm -rf /tmp/manifests/${HELM_CHART_NAME} + - git add .k8s/${ENVIRONMENT}/manifests + - git commit -m "[${ENVIRONMENT}] manifests updated, [ci skip]" + - git push -o ci.skip + only: + - main + - staging + - develop