Commit 4cd3a109 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

ci: surcharge la ci-config pour tester une autre commnade Curl.

No related merge requests found
Showing with 12 additions and 0 deletions
+12 -0
......@@ -4,3 +4,15 @@ include:
file:
- /php/multiversions.yml
- /php/packagist.yml
packagist:
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}"
--data '{"repository":{"url":"'${CI_REPOSITORY_URL}'"}}'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment