From 2374001736391e83fbb49b1108aa5968f1a7c104 Mon Sep 17 00:00:00 2001 From: Barnabas Nsoh Date: Mon, 16 Dec 2024 22:19:28 +0000 Subject: [PATCH] add ref name --- .github/workflows/deploy-preview.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 6ff4abfb..db380d2a 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -1,11 +1,5 @@ name: deploy-preview on: - workflow_dispatch: - inputs: - ref_name: - description: 'Branch name' - required: true - default: 'main' workflow_call: pull_request: types: @@ -111,3 +105,5 @@ jobs: share-preview-url: needs: [full-stack] uses: ./.github/workflows/share-preview-url.yml + with: + ref_name: ${{ github.ref_name }}