1
0
Fork 0

ci(ant.k8s.vxm.cz): single line curl for deployment

This commit is contained in:
Vojtěch Mareš 2022-01-03 18:23:39 +01:00
parent a80c706ef8
commit 21f129bb11
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -26,9 +26,4 @@ deploy:
name: production name: production
url: https://ant.k8s.vxm.cz url: https://ant.k8s.vxm.cz
script: 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"