Skip to content

Commit 9274bd9

Browse files
feature: this commit includes deployment automation for the comanda.payments service in the production pipeline. The workflow now detects changes in this directory and executes the corresponding job.
1 parent 9d542e0 commit 9274bd9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/production-deployment-pipeline.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
subscriptions: ${{ steps.filter.outputs.subscriptions }}
1212
stores: ${{ steps.filter.outputs.stores }}
1313
profiles: ${{ steps.filter.outputs.profiles }}
14+
payments: ${{ steps.filter.outputs.payments }}
1415

1516
steps:
1617
- name: checkout
@@ -27,6 +28,8 @@ jobs:
2728
- 'Boundaries/Comanda.Stores/**'
2829
profiles:
2930
- 'Boundaries/Comanda.Profiles/**'
31+
payments:
32+
- 'Boundaries/Comanda.Payments/**'
3033
3134
deploy-subscriptions:
3235
needs: changes
@@ -57,3 +60,13 @@ jobs:
5760
image_name: httpsrichardy/comanda.profiles
5861
deploy_url_secret: PROFILES_PRODUCTION_DEPLOY_URL
5962
secrets: inherit
63+
64+
deploy-payments:
65+
needs: changes
66+
if: needs.changes.outputs.payments == 'true'
67+
uses: ./.github/workflows/deploy-pipeline.yml
68+
with:
69+
service_path: Boundaries/Comanda.Payments
70+
image_name: httpsrichardy/comanda.payments
71+
deploy_url_secret: PAYMENTS_PRODUCTION_DEPLOY_URL
72+
secrets: inherit

0 commit comments

Comments
 (0)