From 3140267ea0a3b37032003992695afd7dc1f4f46c Mon Sep 17 00:00:00 2001 From: Kevin Hoerr Date: Sat, 23 Dec 2023 23:59:02 -0500 Subject: De gatsby (#326) * de-gatsby * Add inversed image for dark background * eleventy * Reinstate workflows to prior state * Strip inline styling for index image * Passthrough src/public/ files * Use global data to encode build date encoded string * Clean public directory before build * Reinstall eslint, prettier * Reinstate .gitattributes for public dir * build.yml: escape config file for version numbering * Revert public changes for PR validation * Rename src/public/ to src/static/ * Include github-actions in dependabot updates * re-establish typescript * Update prevent-file-change-action to v1.5.1 * Re-add typescript to linting * Re-add typescript for eslint * Fix whitespace diff for tsconfig.json * Fix whitespace in .eslintrc.json --- .github/workflows/build.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 295ed07..56f4d5a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,9 +30,9 @@ jobs: uses: mingjun97/file-regex-replace@v1 if: steps.filter.outputs.source == 'true' with: - regex: 'version: "[0-9]*",' - replacement: 'version: "${{ steps.date.outputs.DATE_VERSION }}",' - include: 'gatsby-config\.ts' + regex: '"version": "[0-9]*",' + replacement: '"version": "${{ steps.date.outputs.DATE_VERSION }}",' + include: 'config\.json' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -42,10 +42,8 @@ jobs: - name: Install Node.js packages run: npm ci - - name: Clean Gatsby cache - run: npm run clean - - name: Run Gatsby Build - run: npm run build --if-present + - name: Run Eleventy Build + run: npm run build - name: Run post-build run: npm run post-build - name: Commit public changes -- cgit