GitHub Actions Setup - Quick Start
β‘ Complete These 4 Steps (15 minutes)
STEP 1: Create GitHub Repository (2 min)
- Go to: https://github.com/new
- Name:
fleetmind-mcp - Visibility: Public
- DON'T initialize with README
- Click "Create repository"
- SAVE YOUR USERNAME!
STEP 2: Get Hugging Face Token (2 min)
- Go to: https://huggingface.co/settings/tokens
- Click "Create new token"
- Name:
GitHub Actions Sync - Type: Write
- Click "Generate token"
- COPY THE TOKEN (starts with
hf_...)
STEP 3: Push to GitHub (3 min)
Open PowerShell and run:
# Navigate to repo
cd F:\github-fleetmind-team
# Add and commit
git add .
git commit -m "Initial commit with GitHub Actions"
# Add GitHub remote (REPLACE YOUR-USERNAME!)
git remote add origin https://github.com/YOUR-USERNAME/fleetmind-mcp.git
# Push to GitHub
git branch -M main
git push -u origin main
You'll be asked for credentials:
- Username: Your GitHub username
- Password: Your GitHub Personal Access Token
- Get it at: https://github.com/settings/tokens
- Or use GitHub Desktop/CLI for easier auth
STEP 4: Add HF_TOKEN to GitHub (3 min)
Go to:
https://github.com/YOUR-USERNAME/fleetmind-mcp/settings/secrets/actionsClick: "New repository secret"
Fill in:
- Name:
HF_TOKEN - Secret: Paste your Hugging Face token from Step 2
- Name:
Click: "Add secret"
β Test It Works (5 min)
cd F:\github-fleetmind-team
# Make a small change
echo "`n## Auto-synced from GitHub" >> README.md
# Commit and push
git add README.md
git commit -m "Test: Auto-sync"
git push origin main
Check:
- GitHub Actions:
https://github.com/YOUR-USERNAME/fleetmind-mcp/actions- Should show green checkmark β
- HF Space: https://huggingface.co/spaces/MCP-1st-Birthday/fleetmind-dispatch-ai
- Should have new commit
π Done! Now Your Team Can Collaborate
Team members:
# Clone GitHub repo
git clone https://github.com/YOUR-USERNAME/fleetmind-mcp.git
cd fleetmind-mcp
# Make changes
# ... edit files ...
# Push to GitHub (auto-syncs to HF Space!)
git add .
git commit -m "Add feature"
git push
Every push to GitHub automatically updates HF Space! β¨
π Add Team Members to GitHub
- Go to:
https://github.com/YOUR-USERNAME/fleetmind-mcp/settings/access - Click "Add people"
- Enter their GitHub username
- Role: Write
- Click "Add"
π Quick Troubleshooting
GitHub Actions fails? β Check HF_TOKEN is set correctly in GitHub Secrets
Can't push to GitHub? β Create GitHub Personal Access Token: https://github.com/settings/tokens
Files too large? β Use Git LFS (see full guide)
Full documentation: See GITHUB_ACTIONS_SETUP.md
Ready to build! π