further tweaking of workflows

This commit is contained in:
dorkbutt 2025-06-04 22:52:39 -04:00
parent 37a233a863
commit 18c7a84ec4
No known key found for this signature in database

View file

@ -5,8 +5,8 @@ on:
branches: branches:
- main - main
paths: paths:
- ".github/workflows/generate-source.yml" - ".forgejo/workflows/generate-source.yml"
- ".github/scripts/generate/**/*.*" - ".forgejo/scripts/generate/**/*.*"
- "source/data.json" - "source/data.json"
- "source/template.css" - "source/template.css"
pull_request: pull_request:
@ -36,19 +36,19 @@ jobs:
node-version: 18.x node-version: 18.x
- name: Setup PNPM - name: Setup PNPM
working-directory: .github/scripts working-directory: .forgejo/scripts
run: | run: |
npm i -g pnpm npm i -g pnpm
pnpm i pnpm i
- name: Run generate script - name: Run generate script
working-directory: .github/scripts working-directory: .forgejo/scripts
run: pnpm run generate run: pnpm run generate
- name: Push changes - name: Push changes
run: | run: |
git config --global user.name "github-actions[bot]" git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --global user.email "bot@dorkbutt.lol"
git add import.css git add import.css
git commit -m "Update import.css (${{ github.sha || 'manual trigger' }})" || true git commit -m "Update import.css (${{ github.sha || 'manual trigger' }})" || true