fix(pricing): correct Claude Opus 4.7 to $5/$25/M; fix SelectItem tex… #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI/CD | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-deploy: | |
| name: Build and Deploy | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: fly-deploy-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install server dependencies | |
| working-directory: server | |
| run: npm ci | |
| - name: Build server | |
| working-directory: server | |
| run: npm run build | |
| - name: Install client dependencies | |
| working-directory: client-heroui | |
| run: npm ci | |
| - name: Check client translations | |
| working-directory: client-heroui | |
| run: npm run translate:i18n:dry | |
| - name: Build client | |
| working-directory: client-heroui | |
| run: npm run build | |
| - name: Setup Fly | |
| uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Verify Fly runtime secrets | |
| run: | | |
| flyctl secrets list -a message-system --json | grep -q '"name": "OPENROUTER_API_KEY"' || { | |
| echo "::error::Fly secret OPENROUTER_API_KEY is missing. Run: fly secrets set OPENROUTER_API_KEY=..." | |
| exit 1 | |
| } | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| - name: Deploy to Fly | |
| run: flyctl deploy --remote-only -a message-system | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |