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

Ajoute un job pour publier dans le dépôt composer de gitlab.

parent 45905bea
No related merge requests found
Showing with 9 additions and 0 deletions
+9 -0
...@@ -5,3 +5,12 @@ include: ...@@ -5,3 +5,12 @@ include:
- project: pole-is/tools/ci-config - project: pole-is/tools/ci-config
ref: "3.0.1" ref: "3.0.1"
file: /php/packagist.yml file: /php/packagist.yml
gitlab-composer:
stage: deploy
image: curlimages/curl
interruptible: false
script:
- 'curl --user "__token__:$CI_JOB_TOKEN" --data "tag=$CI_COMMIT_TAG" --data "branch=$CI_COMMIT_BRANCH" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"'
rules:
- if: '$CI_COMMIT_BRANCH || $CI_COMMIT_TAG'
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