diff options
| -rw-r--r-- | .github/workflows/build.yml | 4 | ||||
| -rw-r--r-- | 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/": "/", }); |
