Skip to content

Commit a510a1c

Browse files
committed
CCM-11192: use workspace for docs build
1 parent 0392185 commit a510a1c

File tree

4 files changed

+95
-50
lines changed

4 files changed

+95
-50
lines changed

.github/actions/build-docs/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ runs:
1313
with:
1414
node-version: 18
1515
- name: Npm cli install
16-
working-directory: ./docs
17-
run: npm ci
16+
working-directory: .
17+
run: npm ci -w docs/nhs-notify-docs
1818
shell: bash
1919
- name: Setup Ruby
2020
uses: ruby/[email protected]

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"engines": {},
99
"keywords": [],
1010
"license": "ISC",
11-
"name": "nhs-notify",
11+
"name": "nhs-notify-docs",
1212
"private": true,
1313
"scripts": {
1414
"build": "JEKYLL_ENV=production bundle exec jekyll build --trace --config _config.yml,_config.version.yml",

package-lock.json

Lines changed: 90 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"lambdas/api-handler",
7373
"lambdas/authorizer",
7474
"internal/datastore",
75-
"scripts/test-data"
75+
"scripts/test-data",
76+
"docs/nhs-notify-docs"
7677
]
7778
}

0 commit comments

Comments
 (0)