ci(actions): handle nothing to build
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
5f855a8df0
commit
e8c0c353ac
1 changed files with 7 additions and 4 deletions
11
.github/workflows/pr-env.yaml
vendored
11
.github/workflows/pr-env.yaml
vendored
|
|
@ -6,13 +6,13 @@ on:
|
|||
build_service:
|
||||
description: |
|
||||
Name of a single service to build(in small letters), eg: api or frontend etc. backend:sevice-name to build service.
|
||||
Options: all/service-name/backend:{app1/app1,app2,app3/all}
|
||||
required: true
|
||||
default: 'frontend'
|
||||
If what ever image is not built, it'll be deployed from latest release.
|
||||
Options: none/all/service-name/backend:{app1/app1,app2,app3/all}
|
||||
required: false
|
||||
default: none
|
||||
env_flavour:
|
||||
description: 'Which env to build. Values: foss/ee'
|
||||
required: false
|
||||
default: 'foss'
|
||||
|
||||
jobs:
|
||||
create-vcluster-pr:
|
||||
|
|
@ -277,6 +277,9 @@ jobs:
|
|||
build_and_deploy "sourcemapreader"
|
||||
build_and_deploy "assist-stats"
|
||||
;;
|
||||
none)
|
||||
echo "Nothing to build"
|
||||
;;
|
||||
*)
|
||||
build_and_deploy $app_name
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue