From 9f8acf281818a898df2879793493f1d2423dbc14 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sun, 24 Dec 2023 00:25:21 -0500 Subject: Fix silly regex error for workflow --- .github/workflows/build.yml | 4 ++-- src/config.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05d1b2c..7845d6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,8 +30,8 @@ jobs: if: steps.filter.outputs.source == 'true' uses: jacobtomlinson/gha-find-replace@v3 with: - find: '"version": "[0-9]*",' - replace: '"version": "${{ steps.date.outputs.DATE_VERSION }}",' + find: '"version": "[0-9]*"' + replace: '"version": "${{ steps.date.outputs.DATE_VERSION }}"' include: 'config.json' - name: Use Node.js ${{ matrix.node-version }} diff --git a/src/config.ts b/src/config.ts index b0ad1b0..75ba2dd 100644 --- a/src/config.ts +++ b/src/config.ts @@ -3,6 +3,7 @@ import BuildInfo from "../config.json"; // eslint-disable-next-line @typescript-eslint/no-explicit-any export default function (eleventyConfig: any) { + // passthrough static files to public eleventyConfig.addPassthroughCopy({ "./src/static/": "/", }); -- cgit