ci(ant.k8s.vxm.cz): single line curl for deployment
This commit is contained in:
parent
a80c706ef8
commit
21f129bb11
1 changed files with 1 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Reference in a new issue