diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index ca7c0d09..a1699e3c 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 }} diff --git a/package.json b/package.json index 8dc633f7..517df586 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,9 @@ "redirectCheck:stage": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", "redirectCheck:prod": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" }, + "config": { + "sitePath": "commerce/frontend-core" + }, "devDependencies": { "express": "5.2.1" }