NOW IT SHOULD WORK MY FUCKING GOD I HATE YOU GITHUB

This commit is contained in:
coolesding 2023-09-24 20:31:12 +01:00 committed by GitHub
parent a0f317cc91
commit c11c40084a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 24 deletions

View file

@ -2,17 +2,6 @@ name: Generate Database
on:
push:
Expand All
@@ -7,25 +7,16 @@ on:
branches:
- main
paths:
@ -41,31 +30,25 @@ jobs:
steps:
- uses: actions/checkout@v3
Expand All
@@ -40,15 +31,61 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Setup PNPM
working-directory: .github/scripts
run: |
npm i -g pnpm
pnpm i
- name: Run generate script
working-directory: .github/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 add db/dist.css
git commit -m "chore(db): update dist.css (${{ github.sha || 'manual trigger' }})" || true
git push
git push