File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Update model registry
33on :
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."
You can’t perform that action at this time.
0 commit comments