Skip to content

Commit

Permalink
Merge branch 'feature/publish' into 'master'
Browse files Browse the repository at this point in the history
publish

See merge request denkwerk/packages/dw-content-elements!1
  • Loading branch information
Digi92 committed Oct 19, 2023
2 parents d45b741 + eb1f6e7 commit 0e0c0cc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
stages:
- package

workflow:
rules:
# On commit on branch
- if: $CI_COMMIT_BRANCH
variables:
CI_DATA: "branch=${CI_COMMIT_BRANCH}"
# On tag
- if: $CI_COMMIT_TAG
variables:
CI_DATA: "tag=${CI_COMMIT_TAG}"

package:
stage: package
script:
- apt update
- apt install curl -y
- 'curl --header "Job-Token: $CI_JOB_TOKEN" --data ${CI_DATA} "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/composer"'

0 comments on commit 0e0c0cc

Please sign in to comment.