Skip to content

chore(deps): bump @react-three/fiber from 9.4.2 to 9.5.0 in /webapp #130

chore(deps): bump @react-three/fiber from 9.4.2 to 9.5.0 in /webapp

chore(deps): bump @react-three/fiber from 9.4.2 to 9.5.0 in /webapp #130

name: Autonomous Oracle CI/CD
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
checks: write
statuses: write
jobs:
oracle-analysis:
name: Oracle Analysis & Fix
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run GXQ Autonomous Oracle
id: oracle
env:
ADMIN_TOKEN: ${{ secrets.GXQ_ADMIN_TOKEN }}
ADMIN_API_URL: ${{ secrets.GXQ_ADMIN_API_URL }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx ts-node scripts/autonomous-oracle.ts
- name: Commit Auto-Fixes
if: always()
run: |
git config user.name "GXQ Oracle Bot"
git config user.email "[email protected]"
git add .
if ! git diff --staged --quiet; then
git commit -m "chore: autonomous oracle auto-fix [skip ci]"
git push origin HEAD:${{ github.head_ref || github.ref_name }}
fi
deployment-gateway:
name: Deployment Gateway
needs: oracle-analysis
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: ${{ github.ref == 'refs/heads/main' && '--prod' || '' }}
- name: Post-Deploy Health Check
run: |
URL=${{ github.ref == 'refs/heads/main' && 'https://gxq.studio' || 'https://dev.gxq.studio' }}
echo "Checking health of $URL..."
curl -f "$URL/api/admin/status" || (echo "Health check failed!" && exit 1)