#!/bin/bash # Push Burmddit to git.qikbite.asia using token echo "Burmddit Git Push Script" echo "========================" echo "" # Check if token is provided if [ -z "$1" ]; then echo "Usage: ./push-to-git.sh YOUR_ACCESS_TOKEN" echo "" echo "Get your token from:" echo " https://git.qikbite.asia → Settings → Access Tokens" echo "" exit 1 fi TOKEN=$1 echo "Pushing to git.qikbite.asia..." cd /home/ubuntu/.openclaw/workspace/burmddit # Add token to remote URL git remote set-url origin https://minzeyaphyo:${TOKEN}@git.qikbite.asia/minzeyaphyo/burmddit.git # Push git push -u origin main if [ $? -eq 0 ]; then echo "" echo "✅ SUCCESS! Code pushed to:" echo " https://git.qikbite.asia/minzeyaphyo/burmddit" else echo "" echo "❌ FAILED! Check your token and repository access." fi