Skip to content

Commit

Permalink
Merge pull request #9 from nhsuk/fix-docs-css
Browse files Browse the repository at this point in the history
Fix missing CSS in docs
  • Loading branch information
davidhunter08 authored Apr 18, 2024
2 parents bd2391d + 4841326 commit 2ed1231
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: '20'
- run: npm ci
- run: npm run build:docs -- --pathprefix="nhsapp-frontend"
- run: npm run docs:build -- --pathprefix="nhsapp-frontend"
- uses: actions/upload-pages-artifact@v3
with:
path: 'dist/docs'
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ const bundle = gulp.series([
copyNunjucks
])

export { clean, bundle }
export { clean, bundle, compileCSS }
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
"scripts": {
"prepack": "gulp bundle",
"lint": "prettier --check .",
"start": "concurrently npm:serve npm:build:css",
"serve": "npx @11ty/eleventy --serve",
"build:docs": "npx @11ty/eleventy",
"build:css": "gulp",
"start": "concurrently npm:docs:build npm:css:watch",
"docs:serve": "npx @11ty/eleventy --serve",
"docs:build": "npm run css:build && npx @11ty/eleventy",
"css:watch": "gulp",
"css:build": "gulp compileCSS",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down

0 comments on commit 2ed1231

Please sign in to comment.