File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 1+ name : workflow — trigger comanda production deployment
2+
3+ on :
4+ push :
5+ branches : [master]
6+
7+ jobs :
8+ changes :
9+ runs-on : ubuntu-latest
10+ outputs :
11+ subscriptions : ${{ steps.filter.outputs.subscriptions }}
12+ stores : ${{ steps.filter.outputs.stores }}
13+
14+ steps :
15+ - name : checkout
16+ uses : actions/checkout@v4
17+
18+ - name : detect changed paths
19+ id : filter
20+ uses : dorny/paths-filter@v3
21+ with :
22+ filters : |
23+ subscriptions:
24+ - 'Boundaries/Comanda.Subscriptions/**'
25+ stores:
26+ - 'Boundaries/Comanda.Stores/**'
27+
28+ deploy-subscriptions :
29+ needs : changes
30+ if : needs.changes.outputs.subscriptions == 'true'
31+ uses : ./.github/workflows/deploy-pipeline.yml
32+ with :
33+ service_path : Boundaries/Comanda.Subscriptions
34+ image_name : httpsrichardy/comanda.subscriptions
35+ deploy_url_secret : SUBSCRIPTIONS_PRODUCTION_DEPLOY_URL
36+ secrets : inherit
37+
38+ deploy-stores :
39+ needs : changes
40+ if : needs.changes.outputs.stores == 'true'
41+ uses : ./.github/workflows/deploy-pipeline.yml
42+ with :
43+ service_path : Boundaries/Comanda.Stores
44+ image_name : httpsrichardy/comanda.stores
45+ deploy_url_secret : STORES_PRODUCTION_DEPLOY_URL
46+ secrets : inherit
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments