@@ -39,13 +39,47 @@ jobs:
3939 echo "::set-output name=tech::$tech"
4040 shell : bash
4141
42- service_deployment :
43- name : ${{inputs.microservice}} deployment
42+ basic_deployment :
43+ name : Basic deployment
4444 needs : prepare_deployment
45- if : ${{ needs.prepare_deployment.outputs.tech != 'unknown' }}
46- runs-on : ubuntu-latest
47- steps :
48- - uses : ./.github/workflows/used-docker-${{ needs.prepare_deployment.outputs.tech }}.yml
49- with :
50- image_name : ${{ inputs.microservice }}
51- environment : ${{inputs.environment}}
45+ if : ${{ needs.prepare_deployment.outputs.tech == 'basic' }}
46+ uses : ./.github/workflows/used-docker-basic.yml
47+ with :
48+ image_name : ${{ inputs.microservice }}
49+ environment : ${{inputs.environment}}
50+
51+ frontend_deployment :
52+ name : Frontend deployment
53+ needs : prepare_deployment
54+ if : ${{ needs.prepare_deployment.outputs.tech == 'frontend' }}
55+ uses : ./.github/workflows/used-docker-frontend.yml
56+ with :
57+ image_name : ${{ inputs.microservice }}
58+ environment : ${{inputs.environment}}
59+
60+ golang_deployment :
61+ name : Golang deployment
62+ needs : prepare_deployment
63+ if : ${{ needs.prepare_deployment.outputs.tech == 'golang' }}
64+ uses : ./.github/workflows/used-docker-golang.yml
65+ with :
66+ image_name : ${{ inputs.microservice }}
67+ environment : ${{inputs.environment}}
68+
69+ java_11_deployment :
70+ name : Java 11 deployment
71+ needs : prepare_deployment
72+ if : ${{ needs.prepare_deployment.outputs.tech == 'java-11' }}
73+ uses : ./.github/workflows/used-docker-java-11.yml
74+ with :
75+ image_name : ${{ inputs.microservice }}
76+ environment : ${{inputs.environment}}
77+
78+ java_deployment :
79+ name : Java deployment
80+ needs : prepare_deployment
81+ if : ${{ needs.prepare_deployment.outputs.tech == 'java' }}
82+ uses : ./.github/workflows/used-docker-java.yml
83+ with :
84+ image_name : ${{ inputs.microservice }}
85+ environment : ${{inputs.environment}}
0 commit comments