Update build-and-deploy-plugins.yml
added input parameter
This commit is contained in:
12
.github/workflows/build-and-deploy-plugins.yml
vendored
12
.github/workflows/build-and-deploy-plugins.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user