Skip to content

Commit 7d38e5a

Browse files
committed
Fix CICD
1 parent 1361a85 commit 7d38e5a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/preview.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ permissions:
77
on:
88
workflow_dispatch:
99
inputs:
10+
target_branch:
11+
description: 'Target branch for the preview'
12+
type: string
13+
required: true
1014
version:
1115
description: 'Modpack version'
1216
required: true
@@ -29,6 +33,9 @@ jobs:
2933
steps:
3034
- name: Checkout
3135
uses: actions/checkout@v4
36+
with:
37+
ref: ${{ github.event.inputs.target_branch || github.ref }}
38+
fetch-depth: 0
3239

3340
- name: Setup Build
3441
uses: ./.github/actions/build_setup

0 commit comments

Comments
 (0)