Updated .gitlab-ci.yml
This commit is contained in:
parent
0d89e95f91
commit
6f23840a48
1 changed files with 12 additions and 2 deletions
|
@ -25,9 +25,19 @@ before_script:
|
|||
|
||||
build:
|
||||
script:
|
||||
- ncc build --log-level debug
|
||||
- ncc build --config release --log-level debug
|
||||
artifacts:
|
||||
paths:
|
||||
- build/
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
||||
release:
|
||||
stage: deploy
|
||||
script:
|
||||
- ncc build --config release --log-level debug
|
||||
artifacts:
|
||||
paths:
|
||||
- build/
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
Loading…
Add table
Reference in a new issue