Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

ci(api): add deploy-api.yml so /api/v1/* ships on main (#164)

Beenu Aroraf86e6afa4742
diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml
new file mode 100644
index 000000000..ef71dfb44
--- /dev/null
+++ b/.github/workflows/deploy-api.yml
@@ -0,0 +1,39 @@
+name: Deploy API to Fly
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - "services/api/**"
+ - "packages/types/**"
+ - ".github/workflows/deploy-api.yml"
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+concurrency:
+ group: deploy-api
+ cancel-in-progress: true
+
+jobs:
+ deploy:
+ name: Deploy aisoc-demo-api
+ runs-on: ubuntu-latest
+ env:
+ FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
+ steps:
+ - uses: actions/checkout@v6
+ with:
+ fetch-depth: 0
+
+ - name: Install flyctl
+ uses: superfly/flyctl-actions/setup-flyctl@master
+
+ - name: Deploy to Fly
+ run: |
+ flyctl deploy \
+ --remote-only \
+ --dockerfile services/api/Dockerfile \
+ --config infra/fly/api/fly.toml \
+ .