Skip to content

Commit b9bb1cd

Browse files
authored
Add manual trigger to workflow (#3134)
1 parent 77141d8 commit b9bb1cd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-development.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ on:
33
push:
44
branches:
55
- master
6+
workflow_dispatch:
7+
inputs:
8+
ref:
9+
description: Branch/Tag/SHA to checkout
10+
required: true
11+
default: master
612

713
jobs:
814
deploy:
@@ -11,6 +17,8 @@ jobs:
1117
steps:
1218
- name: Checkout repository
1319
uses: actions/checkout@v4
20+
with:
21+
ref: ${{ github.event.inputs.ref }}
1422
# Has to be run before actions/setup-node.
1523
# See: https://github.com/actions/setup-node/issues/480
1624
- name: Enable corepack for Yarn

0 commit comments

Comments
 (0)