Files
blackroad-operating-system/.github/workflows/deploy-cloudflare.yml
Alexa Louise c00b6ee2a1 fix: Add Railway deployment configs and GitHub workflows
- Add Railway configuration (railway.toml)
- Add GitHub Actions workflows
  - Railway deployment automation
  - Python/Node.js testing
  - Health check monitoring
- Add GitHub templates (CODEOWNERS, PR template)
- Add requirements files if missing
- Standardize deployment across all services

This ensures consistent deployment patterns across the entire
BlackRoad OS infrastructure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 15:35:09 -06:00

47 lines
1.2 KiB
YAML

name: Deploy to Cloudflare Pages
on:
push:
branches: [main, master]
paths:
- 'domains/**'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
site:
- blackroad-network
- blackroad-systems
- blackroad-me
- lucidia-earth
- aliceqi
- blackroad-inc
- blackroadai
- lucidia-studio
- lucidiaqi
- blackroad-quantum
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy ${{ matrix.site }} to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ matrix.site }}
directory: domains/${{ matrix.site }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Verify Deployment
run: |
echo "✅ ${{ matrix.site }} deployed successfully"
# Wait for deployment to be live
sleep 10
# Test the deployment (optional)
# curl -I https://${{ matrix.site }}.pages.dev