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 f1f1ca6..78fb939 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 @@ -32,7 +32,7 @@ Generate and Push Kubernetes Manifests: xargs -I## git remote add remote_origin "https://oauth2:${COMMIT_TOKEN}@##.git" - git add --all - git commit -m "[${ENVIRONMENT}] manifests updated, [ci skip]" - - git push -o ci.skip + - git push -o ci.skip remote_origin HEAD:${CI_COMMIT_REF_NAME} only: - main - staging