From caed13cdb8933791955ec187fe9eea3d0311775f Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Fri, 19 Dec 2025 15:06:25 -0600 Subject: [PATCH] Refactor GitHub Actions workflow for GitHub Pages deployment by removing input branch specification and simplifying branch handling to use the current reference name directly. --- .github/workflows/deploy-github-pages.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index ca7c0d0..a1699e3 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -2,12 +2,6 @@ name: Deploy GitHub Pages preview on: workflow_dispatch: - inputs: - branch: - description: "Branch to deploy" - type: string - required: true - default: main permissions: contents: read @@ -18,4 +12,4 @@ jobs: preview: uses: AdobeDocs/commerce-contributor/.github/workflows/github-pages-preview.yml@main with: - branch: ${{ inputs.branch || github.ref }} + branch: ${{ github.ref_name }}