Skip to content

Commit

Permalink
Update GitHub workflows to trigger build when files in application/* …
Browse files Browse the repository at this point in the history
…are changed
  • Loading branch information
tjementum committed May 21, 2024
1 parent c93508a commit ac7953b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/account-management.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Account Managment - Build and Deploy
name: Account Management - Build and Deploy

on:
push:
branches:
- main
paths:
- "application/*"
- "application/shared-kernel/**"
- "application/account-management/**"
- ".github/workflows/account-management.yml"
- "!**.md"
pull_request:
paths:
- "application/*"
- "application/shared-kernel/**"
- "application/account-management/**"
- ".github/workflows/account-management.yml"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/app-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
branches:
- main
paths:
- "application/*"
- "application/shared-kernel/**"
- "application/AppGateway/**"
- ".github/workflows/app-gateway.yml"
- "!**.md"
pull_request:
paths:
- "application/*"
- "application/shared-kernel/**"
- "application/AppGateway/**"
- ".github/workflows/app-gateway.yml"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/back-office.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
branches:
- main
paths:
- "application/*"
- "application/shared-kernel/**"
- "application/back-office/**"
- ".github/workflows/back-office.yml"
- "!**.md"
pull_request:
paths:
- "application/*"
- "application/shared-kernel/**"
- "application/back-office/**"
- ".github/workflows/back-office.yml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ void DisableActiveWorkflow(string workflowName)
private void TriggerAndMonitorWorkflows()
{
StartGitHubWorkflow("Cloud Infrastructure - Deployment", "cloud-infrastructure.yml");
StartGitHubWorkflow("AccountManagement - Build and Deploy", "account-management.yml");
StartGitHubWorkflow("Account Management - Build and Deploy", "account-management.yml");
StartGitHubWorkflow("AppGateway - Build and Deploy", "app-gateway.yml");
return;

Expand Down

0 comments on commit ac7953b

Please sign in to comment.