feat: Game Hub UI overhaul, FLI clade system, and Groove integration #4
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
| # SPDX-License-Identifier: PMPL-1.0-or-later | ||
|
Check failure on line 1 in .github/workflows/boj-build.yml
|
||
| # | ||
| # OPTIONAL: BoJ Server Build Trigger | ||
| # This workflow notifies a BoJ Server instance when code is pushed. | ||
| # It is a no-op if BOJ_SERVER_URL is not set or the server is unreachable. | ||
| # To enable: set the BOJ_SERVER_URL repository secret (e.g., http://boj-server.local:7700) | ||
| # To disable: delete this file or leave the secret unset. | ||
| # | ||
| name: BoJ Server Build Trigger | ||
| on: | ||
| push: | ||
| branches: [main, master] | ||
| workflow_dispatch: | ||
| jobs: | ||
| trigger-boj: | ||
| runs-on: ubuntu-latest | ||
| if: ${{ vars.BOJ_SERVER_URL != '' || secrets.BOJ_SERVER_URL != '' }} | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
| - name: Trigger BoJ Server (Casket/ssg-mcp) | ||
| env: | ||
| BOJ_URL: ${{ secrets.BOJ_SERVER_URL || vars.BOJ_SERVER_URL }} | ||
| run: | | ||
| if [ -z "$BOJ_URL" ]; then | ||
| echo "BOJ_SERVER_URL not configured — skipping" | ||
| exit 0 | ||
| fi | ||
| curl -sf -X POST "${BOJ_URL}/cartridges/ssg-mcp/invoke" \ | ||
| -H "Content-Type: application/json" \ | ||
| -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\"}" \ | ||
| || echo "BoJ server unreachable — skipping (non-fatal)" | ||
| permissions: | ||
| contents: read | ||