-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f855134
commit 2112cd8
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,13 +76,16 @@ jobs: | |
fi | ||
done | ||
- name: Commit model deletions | ||
- name: Commit and push model deletions | ||
if: env.changed_models != '' | ||
run: | | ||
git config --global user.name "github-actions" | ||
git config --global user.email "[email protected]" | ||
git remote set-url origin https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}.git | ||
git add -u | ||
git commit -m "Delete updated models from repo after S3 upload" | ||
# Add and commit changes (deleted models) | ||
git add models/ | ||
git commit -m "Delete uploaded models from repository" | ||
# Push changes back to the repository | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"antispoofing.onnx": "1.0.0", | ||
"yolo_face_detection.onnx": "1.0.0" | ||
"antispoofing.onnx": "1.0.1", | ||
"yolo_face_detection.onnx": "1.0.1" | ||
} | ||
|