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

CI: autre correction du job packagist.

parent a9b1cd69
No related merge requests found
Showing with 5 additions and 4 deletions
+5 -4
...@@ -38,12 +38,13 @@ packagist: ...@@ -38,12 +38,13 @@ packagist:
- job: test - job: test
artifacts: false artifacts: false
image: appropriate/curl image: appropriate/curl
variables:
GIT_STRATEGY: none
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH
interruptible: false interruptible: false
script: script:
- | - 'curl -fsSL -H"Content-Type: application/json"
curl -fsSL -H"Content-Type: application/json" \ -d''{"repository":{"url":"''$CI_PROJECT_URL''.git"}}''
-d''{"repository":{"url":"''$CI_REPOSITORY_URL''"}}'' \ "https://packagist.org/api/update-package?username=$PACKAGIST_USERNAME&apiToken=$PACKAGIST_TOKEN"'
"https://packagist.org/api/update-package?username=$PACKAGIST_USERNAME&apiToken=$PACKAGIST_TOKEN"
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