-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-github.ps1
More file actions
29 lines (26 loc) · 967 Bytes
/
Copy pathsetup-github.ps1
File metadata and controls
29 lines (26 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# GitHub repo setup script for eCommerce GEO Auditor
Write-Host "Creating GitHub repository..." -ForegroundColor Cyan
# Create repo and push
gh repo create ecommerce-geo-auditor `
--public `
--description "Python CLI tool for auditing eCommerce product pages for Generative Engine Optimization (GEO)" `
--source=. `
--remote=origin `
--push
if ($LASTEXITCODE -eq 0) {
$username = gh api user --jq .login
Write-Host ""
Write-Host "Repository created: https://github.com/$username/ecommerce-geo-auditor" -ForegroundColor Green
Write-Host ""
Write-Host "Repository setup complete!" -ForegroundColor Green
Write-Host ""
Write-Host "Next steps:"
Write-Host "1. Add GitHub Actions secrets:"
Write-Host " .\setup-secrets.ps1"
Write-Host ""
Write-Host "2. Copy .env.example to .env and add your API keys"
Write-Host ""
} else {
Write-Host ""
Write-Host "Error creating repository" -ForegroundColor Red
}