Skip to content

chore(nix->guix): delete Nix estate-wide (#138) (#68) #160

chore(nix->guix): delete Nix estate-wide (#138) (#68)

chore(nix->guix): delete Nix estate-wide (#138) (#68) #160

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
# This workflow is managed by gh actions-lock.
#
# 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
steps:
- name: Checkout
uses: actions/checkout@v7.0.1
- 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:
actions: read
contents: read