diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff8af723d6b599d5cc80a42817709ae8518fdfdf..e129ce1e65514efeb92db9a0d65e2cc4f63d3c63 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,13 +6,13 @@ include: - /php/packagist.yml packagist: - script: > + script: | set -x ; - curl - --request POST - --header 'Accept: *' - --header 'Content-type: application/json' - --user-agent 'irstea-ci-config/6.x (contact: dsi.poleis@irstea.fr)' - --fail - "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_TOKEN}" + curl \ + --request POST \ + --header 'Accept: *' \ + --header 'Content-type: application/json' \ + --user-agent 'irstea-ci-config/6.x (contact: dsi.poleis@irstea.fr)' \ + --fail \ + "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_TOKEN}" \ --data '{"repository":{"url":"'${CI_REPOSITORY_URL}'"}}'