Activation du stage package et deploy seulement sur la branche master
This commit is contained in:
parent
b70fd2ffc1
commit
b7e0be0d84
|
@ -21,6 +21,9 @@ build:
|
|||
package:
|
||||
stage: package
|
||||
needs: ['build']
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
variables:
|
||||
PACKAGE_CONTAINER_NAME: "cre_frontend_package"
|
||||
ARTIFACT_NAME: "ColorRecipesExplorer-frontend-$CI_PIPELINE_IID"
|
||||
|
@ -45,6 +48,9 @@ deploy:
|
|||
stage: deploy
|
||||
image: alpine:latest
|
||||
needs: ['package']
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
variables:
|
||||
DEPLOYED_CONTAINER_NAME: "cre_frontend"
|
||||
before_script:
|
||||
|
|
Loading…
Reference in New Issue