Skip to content

feat: Game Hub UI overhaul, FLI clade system, and Groove integration #4

feat: Game Hub UI overhaul, FLI clade system, and Groove integration

feat: Game Hub UI overhaul, FLI clade system, and Groove integration #4

Workflow file for this run

# SPDX-License-Identifier: PMPL-1.0-or-later

Check failure on line 1 in .github/workflows/boj-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/boj-build.yml

Invalid workflow file

(Line: 17, Col: 9): Unrecognized named-value: 'secrets'. Located at position 30 within expression: vars.BOJ_SERVER_URL != '' || secrets.BOJ_SERVER_URL != ''
#
# 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