Skip to content

Commit 5933ad7

Browse files
committed
fix: update paths and filenames in registry workflow for manifest handling
1 parent 5747cf6 commit 5933ad7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/registry.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Update model registry
33
on:
44
push:
55
paths:
6-
- "models/*.magic"
6+
- "magic/upload/*.magic"
77
- "scripts/update_registry.py"
88
- ".github/workflows/registry.yml"
99
branches:
@@ -31,16 +31,16 @@ jobs:
3131
- name: Install deps (none needed)
3232
run: python -V
3333

34-
- name: Update registry.json
34+
- name: Update manifest.json
3535
run: python scripts/update_registry.py
3636

37-
- name: Commit registry.json if changed
37+
- name: Commit manifest.json if changed
3838
run: |
39-
if [[ -n "$(git status --porcelain data/registry.json)" ]]; then
39+
if [[ -n "$(git status --porcelain magic/manifest.json)" ]]; then
4040
git config user.name "github-actions[bot]"
4141
git config user.email "github-actions@github.com"
42-
git add data/registry.json
43-
git commit -m "chore(registry): update after new .magic"
42+
git add magic/manifest.json
43+
git commit -m "chore(manifest): update after new .magic"
4444
git push
4545
else
4646
echo "No changes to commit."

0 commit comments

Comments
 (0)