From 4ec2ff13eea5c0fa8e20432e6caa39e8f937c378 Mon Sep 17 00:00:00 2001 From: Eunwoo Choi Date: Sun, 20 Oct 2024 00:08:44 +0900 Subject: [PATCH] ci: remove branch input on manual publish --- .github/workflows/publish-manual.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-manual.yml b/.github/workflows/publish-manual.yml index e4b8da7..49adf6b 100644 --- a/.github/workflows/publish-manual.yml +++ b/.github/workflows/publish-manual.yml @@ -1,11 +1,5 @@ name: Publish by Manual -on: - workflow_dispatch: - inputs: - branch: - description: 'Select the branch to deploy' - required: true - default: 'master' +on: workflow_dispatch env: REGISTRY: ghcr.io @@ -21,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - ref: ${{ github.event.inputs.branch }} + ref: ${{ env.GITHUB_REF }} submodules: true - name: Parse image tag run: |