diff --git a/.github/workflows/flow-docker-snapshot.yml b/.github/workflows/flow-docker-snapshot.yml index 46afc9f..e760f50 100644 --- a/.github/workflows/flow-docker-snapshot.yml +++ b/.github/workflows/flow-docker-snapshot.yml @@ -20,10 +20,14 @@ on: description: 'Enable Azure DevOps trigger' required: false default: 'true' - deploy_aks_branch: - description: 'argocd deploy aks branch name' + argocd_target_branch: + description: 'argocd target branch name' required: false default: 'main' + postman_branch: + description: postman branch name' + required: false + default: 'develop' env: # branch choosed by workflow_dispatch or by push event @@ -76,5 +80,7 @@ jobs: azure_template_parameters: | { "APPS_TOP": "[p4pa-auth]", - "POSTMAN_BRANCH": "${{ github.ref_name }}" + "ARGOCD_TARGET_BRANCH": "${{ github.event.inputs.argocd_target_branch }}", + "POSTMAN_BRANCH": "${{ github.event.inputs.postman_branch }}" + "TRIGGER_MESSAGE": "p4pa-auth" }