From 3b5665c05f140f091675d285b58b51dfd7794a7b Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Fri, 2 Jun 2023 18:14:36 +0200 Subject: [PATCH] Fix Pages build error --- .github/workflows/docs.yml | 4 ++-- website/package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b34b725..5dd45fc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,10 +33,10 @@ jobs: uses: actions/configure-pages@v3 - name: Install dependencies - run: cd website && npm ci + run: cd website; npm ci - name: Build site - run: npm run build && cd .. + run: npm run build; cd .. - name: Upload built website uses: actions/upload-pages-artifact@v1 diff --git a/website/package.json b/website/package.json index 9d06ebb..cdf17fb 100644 --- a/website/package.json +++ b/website/package.json @@ -1,5 +1,6 @@ { "scripts": { + "build": "npx @11ty/eleventy", "dev": "npx @11ty/eleventy --serve" }, "devDependencies": {