diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c416e4a..ba87a8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,11 +33,15 @@ build: - if: $CI_COMMIT_BRANCH release: - stage: deploy - script: - - ncc build --config release --log-level debug - artifacts: - paths: - - build/ - rules: - - if: $CI_COMMIT_TAG \ No newline at end of file + stage: deploy + script: + - ncc build --config release --log-level debug + - > + curl --header "JOB-TOKEN: $CI_JOB_TOKEN" + --upload-file build/release/net.nosial.focuscrawler.ncc + "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/net.nosial.tamerlib/$CI_COMMIT_TAG/net.nosial.tamerlib.ncc" + artifacts: + paths: + - build/ + rules: + - if: $CI_COMMIT_TAG