Deployment
GAX SSG
GAX Go Static Site Deployment
Build output is dist/
GitHub Pages
.github/workflows/deploy.yml - uses actions/deploy-pages@v4 with dist/
Vercel
vercel.json:
{"buildCommand":"go build -o gax./cmd/gax &&./gax build","outputDirectory":"dist"}
Netlify
netlify.toml:
[build]
command = "go build -o gax./cmd/gax &&./gax build"
publish = "dist"
VPS
rsync -avz --delete dist/ user@ip:/var/www/gax/
cPanel FTP
Use SamKirkland/FTP-Deploy-Action to upload dist/ to public_html/