From bb229351ea956f34a3f145ed1f57c9a20dd0e5f2 Mon Sep 17 00:00:00 2001 From: Alexa Amundson <118287761+blackboxprogramming@users.noreply.github.com> Date: Mon, 16 Mar 2026 12:21:57 -0500 Subject: [PATCH] =?UTF-8?q?cleanup:=20remove=20unused=20workflow=20?= =?UTF-8?q?=E2=80=94=20Actions=20disabled,=20CI=20runs=20on=20Gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-all.yml | 159 ------------------------------- 1 file changed, 159 deletions(-) delete mode 100644 .github/workflows/deploy-all.yml diff --git a/.github/workflows/deploy-all.yml b/.github/workflows/deploy-all.yml deleted file mode 100644 index 9d3a05c..0000000 --- a/.github/workflows/deploy-all.yml +++ /dev/null @@ -1,159 +0,0 @@ -name: Deploy Everything (Multi-Cloud) - -on: - push: - branches: [main, master] - workflow_dispatch: - inputs: - platform: - description: 'Platform to deploy' - required: false - default: 'all' - type: choice - options: - - all - - cloudflare - - railway - - droplet - -jobs: - # Phase 1: Deploy Static Sites to Cloudflare Pages - deploy-cloudflare: - if: github.event.inputs.platform == 'all' || github.event.inputs.platform == 'cloudflare' || github.event.inputs.platform == '' - 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: - - uses: actions/checkout@v4 - - - name: Deploy ${{ matrix.site }} - 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 }} - - # Phase 2: Deploy Backend Services to Railway - deploy-railway: - if: github.event.inputs.platform == 'all' || github.event.inputs.platform == 'railway' || github.event.inputs.platform == '' - runs-on: ubuntu-latest - needs: [deploy-cloudflare] - - steps: - - uses: actions/checkout@v4 - - - name: Install Railway CLI - run: npm install -g @railway/cli - - - name: Deploy Core Services - run: | - echo "๐Ÿš‚ Deploying to Railway..." - - # Link to Railway project - railway link ${{ secrets.RAILWAY_PROJECT_ID }} - - # Deploy services (Railway will detect changes automatically) - railway up - - env: - RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} - - # Phase 3: Deploy Custom Services to Droplet - deploy-droplet: - if: github.event.inputs.platform == 'all' || github.event.inputs.platform == 'droplet' || github.event.inputs.platform == '' - runs-on: ubuntu-latest - needs: [deploy-cloudflare, deploy-railway] - - steps: - - uses: actions/checkout@v4 - - - name: Deploy to Droplet - uses: appleboy/ssh-action@v1.0.0 - with: - host: ${{ secrets.DROPLET_IP }} - username: root - key: ${{ secrets.DROPLET_SSH_KEY }} - script: | - cd /opt/blackroad - git pull origin main - docker-compose up -d --build - docker-compose ps - - # Phase 4: Update DNS Records - update-dns: - runs-on: ubuntu-latest - needs: [deploy-cloudflare, deploy-railway, deploy-droplet] - - steps: - - uses: actions/checkout@v4 - - - name: Update Cloudflare DNS - run: | - echo "๐ŸŒ DNS records are managed in Cloudflare dashboard" - echo " or via Terraform (coming soon)" - - # Phase 5: Verify All Deployments - verify-deployments: - runs-on: ubuntu-latest - needs: [update-dns] - - steps: - - uses: actions/checkout@v4 - - - name: Test All Endpoints - run: | - echo "๐Ÿงช Testing all endpoints..." - - # Test Cloudflare Pages - echo "Testing Cloudflare Pages..." - curl -sI https://blackroad.network | grep "200\|301\|302" || echo "โš ๏ธ blackroad.network" - curl -sI https://blackroad.systems | grep "200\|301\|302" || echo "โš ๏ธ blackroad.systems" - - # Test Railway Services (when URLs are configured) - echo "Testing Railway services..." - # curl -sI https://api.blackroad.io/health | grep "200" || echo "โš ๏ธ API Gateway" - - # Test Droplet - echo "Testing Droplet services..." - # curl -sI https://codex.blackroad.io/health | grep "200" || echo "โš ๏ธ Codex" - - echo "โœ… Verification complete!" - - # Send deployment notification - notify: - runs-on: ubuntu-latest - needs: [verify-deployments] - if: always() - - steps: - - name: Deployment Summary - run: | - echo "โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”" - echo "๐Ÿš€ MULTI-CLOUD DEPLOYMENT COMPLETE" - echo "โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”" - echo "" - echo "๐Ÿ“ฆ Deployed to:" - echo " โœ… Cloudflare Pages (11 static sites)" - echo " โœ… Railway (Backend services)" - echo " โœ… DigitalOcean Droplet (Custom services)" - echo "" - echo "๐ŸŒ Platform Status:" - echo " Cloudflare: ${{ needs.deploy-cloudflare.result }}" - echo " Railway: ${{ needs.deploy-railway.result }}" - echo " Droplet: ${{ needs.deploy-droplet.result }}" - echo "" - echo "โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”"