Repository navigation
Derive the /mcp agent endpoint from the agent-tagged routes #3
Workflow file for this run
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: On Pull Request Deploy | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - ".github/workflows/on-pull-request-deploy.yml" | |
| - "deploy/caddy/**" | |
| concurrency: | |
| group: on-pull-request-deploy-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| caddyfile: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| # Same image the stack runs (deploy/compose.yaml); the env value mirrors | |
| # the compose default — validation resolves {$VAR} placeholders at parse. | |
| - run: >- | |
| docker run --rm | |
| -v "$PWD/deploy/caddy/Caddyfile:/etc/caddy/Caddyfile:ro" | |
| -e DRUKS_UPSTREAM=127.0.0.1:8001 | |
| caddy:2.10-alpine | |
| caddy validate --config /etc/caddy/Caddyfile |