Skip to content

Commit 7132a61

Browse files
committed
Website: Make manual build ref configurable
1 parent 6dbf646 commit 7132a61

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docker-website.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
options:
1212
- edge
1313
- latest
14+
git_ref:
15+
description: "Git tag/branch to checkout for website content"
16+
required: true
17+
default: "main"
18+
type: string
1419
base_image:
1520
description: "Base SilverBullet image (e.g. zefhemel/silverbullet:v2)"
1621
required: true
@@ -26,6 +31,8 @@ jobs:
2631
steps:
2732
- name: Setup repo
2833
uses: actions/checkout@v3
34+
with:
35+
ref: ${{ inputs.git_ref }}
2936

3037
- name: Login to Docker Hub
3138
uses: docker/login-action@v2

0 commit comments

Comments
 (0)