Update pipeline to build on feature branches

This commit is contained in:
ITDancer139 2021-05-14 20:51:46 +02:00 committed by Keivn Sommer
parent 4c5510772a
commit d5474478b3
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ on:
push: push:
branches: branches:
- master - master
- 'features/*'
pull_request: pull_request:
branches: branches:
- master - master

View File

@ -14,7 +14,7 @@ using static Nuke.Common.Tools.DotNet.DotNetTasks;
[CheckBuildProjectConfigurations] [CheckBuildProjectConfigurations]
[ShutdownDotNetAfterServerBuild] [ShutdownDotNetAfterServerBuild]
[GitHubActions("ci", GitHubActionsImage.UbuntuLatest, [GitHubActions("ci", GitHubActionsImage.UbuntuLatest,
OnPushBranches = new[] {"master", "features"}, OnPushBranches = new[] {"master", "features/*"},
OnPullRequestBranches = new[] {"master"}, OnPullRequestBranches = new[] {"master"},
AutoGenerate = true, AutoGenerate = true,
InvokedTargets = new[] {nameof(Ci)}, InvokedTargets = new[] {nameof(Ci)},