Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions .github/workflows/boj-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,30 @@ on:
push:
branches: [main, master]
workflow_dispatch:

permissions:
actions: read
contents: read

jobs:
trigger-boj:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Trigger BoJ Server (Casket/ssg-mcp)
# NOTE: boj-server.local is an mDNS name that cannot resolve from a
# GitHub-hosted runner, so this request can only fail here; the
# continue-on-error below hides that. Left as-is deliberately —
# repairing the syntax is in scope, redesigning the trigger is not.
run: |
# Send a secure trigger to boj-server to build this repository
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" -H "Content-Type: application/json" -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\\"}"}
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" \
-H "Content-Type: application/json" \
-d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\"}"
continue-on-error: true
permissions: read-all
actions: read

- name: K9-SVC Validation
run: |
echo "K9-SVC validation"
[ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles"
- name: K9-SVC Validation
run: |
echo "K9-SVC validation"
[ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles"
Loading