From cb4d0e13ac3238a8cf9523958eb74a7a6bb70561 Mon Sep 17 00:00:00 2001 From: Devan Carpenter Date: Fri, 8 Jan 2021 18:19:19 +0100 Subject: CI: make curl more verbose We want to specify the POST, as well as include the protocol response headers in the output. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36b2420..a73a73c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,12 +8,12 @@ image: staging: extends: .setup script: - - curl "https://$authuser:$authpass@dream.public.cat/api/deploy/stage" + - curl -i -X POST "https://$authuser:$authpass@dream.public.cat/api/deploy/stage" production: extends: .setup script: - - curl "https://$authuser:$authpass@dream.public.cat/api/deploy/production/$CI_COMMIT_REF_NAME" + - curl -i -X POST "https://$authuser:$authpass@dream.public.cat/api/deploy/production/$CI_COMMIT_REF_NAME" only: - tags except: -- cgit v1.2.3