Skip to content

Commit 4ec2ff1

Browse files
authored
ci: remove branch input on manual publish
1 parent 5c1541d commit 4ec2ff1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/publish-manual.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
name: Publish by Manual
2-
on:
3-
workflow_dispatch:
4-
inputs:
5-
branch:
6-
description: 'Select the branch to deploy'
7-
required: true
8-
default: 'master'
2+
on: workflow_dispatch
93

104
env:
115
REGISTRY: ghcr.io
@@ -21,7 +15,7 @@ jobs:
2115
steps:
2216
- uses: actions/checkout@v2
2317
with:
24-
ref: ${{ github.event.inputs.branch }}
18+
ref: ${{ env.GITHUB_REF }}
2519
submodules: true
2620
- name: Parse image tag
2721
run: |

0 commit comments

Comments
 (0)