#!/data/data/com.termux/files/usr/bin/bash # Load your GitHub token from your vault source ~/QGTNL/secrets/.env REPO_DIR=~/QGTNL cd $REPO_DIR echo "=== QGTNL → GITHUB (Oppo- repo) ===" # Configure Git identity (only needed once) git config user.name "DJ-Goana-Coding" git config user.email "your-email@example.com" # Add all changed files git add -A # Commit if there are changes if ! git diff --cached --quiet; then git commit -m "Auto-sync from QGTNL" else echo "No changes to commit." exit 0 fi # Push to the correct GitHub repo (ONE 'n' + dash at end) git push https://$GITHUB_TOKEN@github.com/DJ-Goana-Coding/Oppo-.git main echo "=== DONE ==="