diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-24 00:25:21 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-24 00:25:21 -0500 |
| commit | 9f8acf281818a898df2879793493f1d2423dbc14 (patch) | |
| tree | 8823a6fef65d126f56ed5ede26350702903a88df | |
| parent | 5254358189bbcb5de9809f9600299c0d2fbee9fb (diff) | |
| download | submelon.dev-9f8acf281818a898df2879793493f1d2423dbc14.tar.gz submelon.dev-9f8acf281818a898df2879793493f1d2423dbc14.tar.bz2 submelon.dev-9f8acf281818a898df2879793493f1d2423dbc14.zip | |
Fix silly regex error for workflow
| -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/": "/", }); |
