chore(ci): remove broken Coolify auto-deploy (git-buildpack broken for monorepo, manual deploy per DEPLOY.md)
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
name: Deploy to Coolify
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Trigger Coolify redeploy
|
|
||||||
env:
|
|
||||||
COOLIFY_TOKEN: ${{ secrets.COOLIFY_TOKEN }}
|
|
||||||
run: |
|
|
||||||
if [ -z "$COOLIFY_TOKEN" ]; then echo "::error::COOLIFY_TOKEN is not set"; exit 1; fi
|
|
||||||
curl -fsS -X POST "https://cloud.siax.io/api/v1/deploy?uuid=c0py&force=false" -H "Authorization: Bearer $COOLIFY_TOKEN" -o /dev/null -w 'coolify deploy HTTP %{http_code}\n'
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
## SIAX Cloud Deploy
|
## SIAX Cloud Deploy
|
||||||
|
|
||||||
- **Config**: [`siax.config.json`](siax.config.json)
|
- **Config**: [`siax.config.json`](siax.config.json)
|
||||||
- **CI/CD**: `.gitea/workflows/ci.yml` — körs vid push/PR till main (Gitea Actions, git.siax.io)
|
- **CI/CD**: `.gitea/workflows/ci.yml` — körs vid push/PR till main (Gitea Actions, git.siax.io). Deploy är **manuell** (se nedan) — CI triggar ej Coolify (git-buildpack trasig för detta monorepo, auto-deploy togs bort 2026-09-16).
|
||||||
- **Runtime**: Node 22, port 3000
|
- **Runtime**: Node 22, port 3000
|
||||||
- **Domain**: `c0py-web.siax.io` (web) / `c0py-api.siax.io` (API)
|
- **Domain**: `c0py-web.siax.io` (web) / `c0py-api.siax.io` (API)
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -51,6 +51,6 @@ Skapa OIDC-app under projekt `c0py` (eller motsvarande). Client credentials flow
|
|||||||
2. `pnpm run typecheck`
|
2. `pnpm run typecheck`
|
||||||
3. `pnpm run test`
|
3. `pnpm run test`
|
||||||
4. `pnpm run build`
|
4. `pnpm run build`
|
||||||
5. Pusha main → CI → Deploy via `.gitea/workflows/deploy.yml`
|
5. Pusha main → CI (`ci.yml`); deploy sker manuellt enligt [`DEPLOY.md`](../DEPLOY.md) (Coolify git-buildpack är trasigt för detta monorepo — bygg `<app-uuid>:latest` på server6 och kör `docker compose up -d` i appkatalogen)
|
||||||
6. Verifiera `https://c0py.siax.io/health` → 200 OK
|
6. Verifiera `https://c0py-api.siax.io/health` → 200 OK
|
||||||
7. Verifiera fail-closed: `https://c0py.siax.io/v1/c0py/registries` → 401 utan token
|
7. Verifiera fail-closed: `https://c0py-api.siax.io/v1/c0py/registries` → 401 utan token
|
||||||
|
|||||||
Reference in New Issue
Block a user