Skip to content

Commit 18cee12

Browse files
authored
Merge pull request AdobeDocs#167 from AdobeDocs/ds_fix-gh-pages
Fix: Add missing sitePath configuration
2 parents d930637 + cae88e6 commit 18cee12

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/deploy-github-pages.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
name: Deploy GitHub Pages preview
33
on:
44
workflow_dispatch:
5-
inputs:
6-
branch:
7-
description: "Branch to deploy"
8-
type: string
9-
required: true
10-
default: main
115

126
permissions:
137
contents: read
@@ -18,4 +12,4 @@ jobs:
1812
preview:
1913
uses: AdobeDocs/commerce-contributor/.github/workflows/github-pages-preview.yml@main
2014
with:
21-
branch: ${{ inputs.branch || github.ref }}
15+
branch: ${{ github.ref_name }}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"type": "git",
77
"url": "https://github.com/AdobeDocs/commerce-admin-developer"
88
},
9+
"config": {
10+
"sitePath": "commerce/admin-developer"
11+
},
912
"scripts": {
1013
"dev": "node ./dev.mjs",
1114
"lint": "npx --yes github:AdobeDocs/adp-devsite-utils runLint -v",

0 commit comments

Comments
 (0)