Update build-and-deploy-plugins.yml

added input parameter
This commit is contained in:
BushraS-Protean
2025-05-27 11:48:20 +05:30
committed by GitHub
parent bfda2a1d42
commit bb5d7a7f15

View File

@@ -3,6 +3,12 @@ name: Build and Upload Plugins
on:
push:
workflow_dispatch:
inputs:
target_branch:
description: 'Branch to deploy'
required: true
default: 'beckn-onix-v1.0-develop'
jobs:
build-and-upload:
@@ -15,6 +21,12 @@ jobs:
steps:
- name: Checkout this repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.target_branch }}
- name: Show selected branch
run: echo "Deploying branch:${{ github.event.inputs.target_branch }}"
- name: Clone GitHub and Gerrit plugin repos
run: |