vibecode shit
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -28,19 +28,17 @@ jobs:
|
|||||||
- name: scripts
|
- name: scripts
|
||||||
working-directory: ./scripts
|
working-directory: ./scripts
|
||||||
run: |
|
run: |
|
||||||
|
rm -rf ../_sprites/unready
|
||||||
npx tsx write.ts
|
npx tsx write.ts
|
||||||
npx tsx sort.ts
|
npx tsx sort.ts
|
||||||
rm -rf ../_sprites/unready
|
|
||||||
npx tsx unready.ts
|
npx tsx unready.ts
|
||||||
|
|
||||||
- name: commit changes
|
- name: commit changes
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "action@github.com"
|
git config --local user.email "action@github.com"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
git add ./_sprites/unready
|
git add -A .
|
||||||
git commit -m "updated unready list" || exit 0
|
git commit -m "auto: update sprites and data" || exit 0
|
||||||
git add ./scripts/data.json
|
|
||||||
git commit -m "updated data" || exit 0
|
|
||||||
git push
|
git push
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
@@ -52,4 +50,3 @@ jobs:
|
|||||||
|
|
||||||
- name: remove temp sorted folder
|
- name: remove temp sorted folder
|
||||||
run: rm -rf ./_sprites/sorted
|
run: rm -rf ./_sprites/sorted
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user