Updating deploy.yml so it can accept multiple branches

This commit is contained in:
Ryan Baxter
2026-01-22 16:22:38 -05:00
parent 951a934dc1
commit fbaa9aaa7c
+3 -3
View File
@@ -13,8 +13,8 @@ on:
# Manual trigger with optional branch override
workflow_dispatch:
inputs:
branch:
description: "Which branch should be built"
branches:
description: "Which branch should be built (can be a comma-separated list of branches)"
required: true
default: 'main'
type: string
@@ -23,7 +23,7 @@ jobs:
deploy:
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
with:
branch: ${{ inputs.branch }}
branches: ${{ inputs.branches }}
secrets:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}