Auto-sync: 2026-02-13 13:19:12
This commit is contained in:
12
skills/repo-sync/sync.sh
Executable file
12
skills/repo-sync/sync.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
cd /Users/adolforeyna/.openclaw/workspace
|
||||
|
||||
# Check if there are changes
|
||||
if [[ -n $(git status -s) ]]; then
|
||||
git add .
|
||||
git commit -m "Auto-sync: $(date '+%Y-%m-%d %H:%M:%S')"
|
||||
git push origin main
|
||||
echo "Synced changes to repo."
|
||||
else
|
||||
echo "No changes to sync."
|
||||
fi
|
||||
Reference in New Issue
Block a user