From 21f129bb11467532f808423a833ba8399e9f2956 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Mon, 3 Jan 2022 18:23:39 +0100 Subject: [PATCH] ci(ant.k8s.vxm.cz): single line curl for deployment --- sites/ant.k8s.vxm.cz/.gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sites/ant.k8s.vxm.cz/.gitlab-ci.yml b/sites/ant.k8s.vxm.cz/.gitlab-ci.yml index ec2c9c3..01e9ecf 100644 --- a/sites/ant.k8s.vxm.cz/.gitlab-ci.yml +++ b/sites/ant.k8s.vxm.cz/.gitlab-ci.yml @@ -26,9 +26,4 @@ deploy: name: production url: https://ant.k8s.vxm.cz script: - - > - curl --request PUT --header 'PRIVATE-TOKEN: ${CI_PUSH_TOKEN}' - --header "Content-Type: application/json" - --data '{"branch": "main", "author_email": "ci@gitlab.mareshq.com", "author_name": "GitLab CI [bot]", - "content": "image: ${IMAGE}:${IMAGE_TAG}", "commit_message": "[auto] build(signpost): update image to ${IMAGE}:${IMAGE_TAG}"}' - "https://gitlab.mareshq.com/api/v4/projects/60/repository/files/signpost%2Fvalues%2Eyaml" + - curl --request PUT --header 'PRIVATE-TOKEN: ${CI_PUSH_TOKEN}' --header "Content-Type: application/json" --data '{"branch": "main", "author_email": "ci@gitlab.mareshq.com", "author_name": "GitLab CI [bot]", "content": "image: ${IMAGE}:${IMAGE_TAG}", "commit_message": "[auto] build(signpost): update image to ${IMAGE}:${IMAGE_TAG}"}' "https://gitlab.mareshq.com/api/v4/projects/60/repository/files/signpost%2Fvalues%2Eyaml"