Skip to content

Commit fbaa9aa

Browse files
committed
Updating deploy.yml so it can accept multiple branches
1 parent 951a934 commit fbaa9aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ on:
1313
# Manual trigger with optional branch override
1414
workflow_dispatch:
1515
inputs:
16-
branch:
17-
description: "Which branch should be built"
16+
branches:
17+
description: "Which branch should be built (can be a comma-separated list of branches)"
1818
required: true
1919
default: 'main'
2020
type: string
@@ -23,7 +23,7 @@ jobs:
2323
deploy:
2424
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
2525
with:
26-
branch: ${{ inputs.branch }}
26+
branches: ${{ inputs.branches }}
2727
secrets:
2828
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
2929
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}

0 commit comments

Comments
 (0)