From cebb4ec698ba9bd3d6bbcd3a31171141f977a213 Mon Sep 17 00:00:00 2001 From: Jason Madigan Date: Wed, 21 Aug 2024 15:21:41 +0100 Subject: [PATCH] deploy with regular npx Signed-off-by: Jason Madigan --- .github/workflows/eleventy_build.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/eleventy_build.yml b/.github/workflows/eleventy_build.yml index 00c88c1..c46ff6a 100644 --- a/.github/workflows/eleventy_build.yml +++ b/.github/workflows/eleventy_build.yml @@ -6,19 +6,22 @@ on: jobs: build_deploy: runs-on: ubuntu-latest + steps: - uses: actions/checkout@master - - uses: actions/setup-node@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: '18' cache: 'npm' + + - name: Install Dependencies + run: npm install + - name: Build - uses: TartanLlama/actions-eleventy@master - with: - install_dependencies: true - args: --output _site - - name: Find - run: find . + run: npx @11ty/eleventy --input src --output _site + - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: