summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDevan Carpenter <git@dvn.me>2021-01-08 18:19:19 +0100
committerDevan Carpenter <git@dvn.me>2021-01-08 18:19:19 +0100
commitcb4d0e13ac3238a8cf9523958eb74a7a6bb70561 (patch)
tree32e7da07382914902819e8ab8cf6452424e8f902 /.gitlab-ci.yml
parent230385fc7b05c7c09ef20d8bbe4e417e336480e9 (diff)
downloaddream.public.cat-cb4d0e13ac3238a8cf9523958eb74a7a6bb70561.tar.gz
CI: make curl more verbose
We want to specify the POST, as well as include the protocol response headers in the output.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files 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: