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 }} diff --git a/package.json b/package.json index 44710dc..9165e0b 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "type": "git", "url": "https://github.com/AdobeDocs/commerce-admin-developer" }, + "config": { + "sitePath": "commerce/admin-developer" + }, "scripts": { "dev": "node ./dev.mjs", "lint": "npx --yes github:AdobeDocs/adp-devsite-utils runLint -v",