updated pipeline
This commit is contained in:
parent
2361ebdbf0
commit
43d07dc49c
@ -15,8 +15,14 @@ build-job: # This job runs in the build stage, which runs first.
|
|||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
artifacts:
|
||||||
|
expire_in: 1 week
|
||||||
|
paths:
|
||||||
|
- ./build
|
||||||
|
|
||||||
deploy-job: # This job runs in the deploy stage.
|
deploy-job: # This job runs in the deploy stage.
|
||||||
|
dependencies:
|
||||||
|
- build-job
|
||||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
script:
|
script:
|
||||||
- apt-get update -qq && apt-get install -y -qq lftp
|
- apt-get update -qq && apt-get install -y -qq lftp
|
||||||
|
Loading…
Reference in New Issue
Block a user