Updated CI
This commit is contained in:
parent
db38d46fb3
commit
ada7676ef9
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@ before_script:
|
|||
- cd .. && rm -rf ncc
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- ncc build --config release --log-level debug
|
||||
artifacts:
|
||||
|
@ -36,6 +37,8 @@ release:
|
|||
stage: deploy
|
||||
script:
|
||||
- ncc build --config release --log-level debug
|
||||
- >
|
||||
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/release/net.nosial.tgbotlib.ncc "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/net.nosial.tgbotlib/$CI_COMMIT_REF_NAME/net.nosial.tgbotlib.ncc"
|
||||
artifacts:
|
||||
paths:
|
||||
- build/
|
||||
|
|
Loading…
Add table
Reference in a new issue