Commit 5e255368 authored by Nick Gaskill's avatar Nick Gaskill

Merge branch...

Merge branch '341671-docs-feedback-ci-di-publish-proposed-pipeline-does-not-work-as-expected' into 'master'

Fix Composer CI/CD example

See merge request gitlab-org/gitlab!71695
parents 934fa18b af8a5e6f
...@@ -125,6 +125,7 @@ You can publish a Composer package to the Package Registry as part of your CI/CD ...@@ -125,6 +125,7 @@ You can publish a Composer package to the Package Registry as part of your CI/CD
deploy: deploy:
stage: deploy stage: deploy
script: script:
- apk add curl
- 'curl --header "Job-Token: $CI_JOB_TOKEN" --data tag=<tag> "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/composer"' - 'curl --header "Job-Token: $CI_JOB_TOKEN" --data tag=<tag> "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/composer"'
``` ```
......
Markdown is supported
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