Skip to content

Commit

Permalink
Tweak deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
RobNicholsGDS committed Dec 11, 2024
1 parent d4b7b8b commit 2eab680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build with Eleventy
run: npm run-script build
run: |
npm install
npx @11ty/eleventy
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dependencies": {
"@x-govuk/govuk-eleventy-plugin": "^6.7.0"
},
"type": "module",
"type": "commonjs",
"name": "demo-docs",
"version": "1.0.0",
"main": "eleventy.config.js",
Expand Down

0 comments on commit 2eab680

Please sign in to comment.