Deepfake Authenticator commited on
Commit ·
f7e99c8
1
Parent(s): 30de428
auto: sync changes $(date +%Y-%m-%d\ %H:%M)
Browse files
.kiro/hooks/auto-push-github.kiro.hook
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"enabled": true,
|
| 3 |
+
"name": "Auto Push to GitHub",
|
| 4 |
+
"description": "After every agent session completes, automatically stages all changes, commits with a timestamp, and pushes to GitHub origin/master so Vercel redeploys automatically.",
|
| 5 |
+
"version": "1",
|
| 6 |
+
"when": {
|
| 7 |
+
"type": "agentStop"
|
| 8 |
+
},
|
| 9 |
+
"then": {
|
| 10 |
+
"type": "runCommand",
|
| 11 |
+
"command": "cd \"e:\\DeepFake Detect\" && git add -A && git diff --cached --quiet || git commit -m \"auto: sync changes $(date +%Y-%m-%d\\ %H:%M)\" && git push origin master",
|
| 12 |
+
"timeout": 60
|
| 13 |
+
}
|
| 14 |
+
}
|