further tweaking of workflows
This commit is contained in:
parent
37a233a863
commit
18c7a84ec4
1 changed files with 5 additions and 5 deletions
|
|
@ -5,8 +5,8 @@ on:
|
|||
branches:
|
||||
- main
|
||||
paths:
|
||||
- ".github/workflows/generate-source.yml"
|
||||
- ".github/scripts/generate/**/*.*"
|
||||
- ".forgejo/workflows/generate-source.yml"
|
||||
- ".forgejo/scripts/generate/**/*.*"
|
||||
- "source/data.json"
|
||||
- "source/template.css"
|
||||
pull_request:
|
||||
|
|
@ -36,19 +36,19 @@ jobs:
|
|||
node-version: 18.x
|
||||
|
||||
- name: Setup PNPM
|
||||
working-directory: .github/scripts
|
||||
working-directory: .forgejo/scripts
|
||||
run: |
|
||||
npm i -g pnpm
|
||||
pnpm i
|
||||
|
||||
- name: Run generate script
|
||||
working-directory: .github/scripts
|
||||
working-directory: .forgejo/scripts
|
||||
run: pnpm run generate
|
||||
|
||||
- name: Push changes
|
||||
run: |
|
||||
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 commit -m "Update import.css (${{ github.sha || 'manual trigger' }})" || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue