diff --git a/.gitea/workflows/ci-deploy.yml b/.gitea/workflows/ci-deploy.yml index a008cd6..e278dca 100644 --- a/.gitea/workflows/ci-deploy.yml +++ b/.gitea/workflows/ci-deploy.yml @@ -14,8 +14,20 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - name: đŸ“Ĩ Checkout + - name: đŸ“Ĩ Checkout (HTTPS) uses: actions/checkout@v4 + continue-on-error: true + + - name: đŸ“Ĩ Checkout (SSH fallback) + if: failure() + run: | + mkdir -p ~/.ssh + echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + ssh-keyscan -p 2222 git.np-dms.work >> ~/.ssh/known_hosts + git clone ssh://git@git.np-dms.work:2222/np-dms/lcbp3.git . + git fetch origin main + git reset --hard origin/main # ── [1] pnpm ā¸•āš‰ā¸­ā¸‡ā¸Ąā¸˛ā¸āšˆā¸­ā¸™ setup-node āš€ā¸Ēā¸Ąā¸­ ──────────────── - name: âš™ī¸ Install pnpm diff --git a/.agents/rules/00-project-context.md b/.windsurf/rules/00-project-context.md similarity index 100% rename from .agents/rules/00-project-context.md rename to .windsurf/rules/00-project-context.md diff --git a/.agents/rules/01-adr-019-uuid.md b/.windsurf/rules/01-adr-019-uuid.md similarity index 100% rename from .agents/rules/01-adr-019-uuid.md rename to .windsurf/rules/01-adr-019-uuid.md diff --git a/.agents/rules/02-security.md b/.windsurf/rules/02-security.md similarity index 100% rename from .agents/rules/02-security.md rename to .windsurf/rules/02-security.md diff --git a/.agents/rules/03-typescript.md b/.windsurf/rules/03-typescript.md similarity index 100% rename from .agents/rules/03-typescript.md rename to .windsurf/rules/03-typescript.md diff --git a/.agents/rules/04-domain-terminology.md b/.windsurf/rules/04-domain-terminology.md similarity index 100% rename from .agents/rules/04-domain-terminology.md rename to .windsurf/rules/04-domain-terminology.md diff --git a/.agents/rules/05-forbidden-actions.md b/.windsurf/rules/05-forbidden-actions.md similarity index 100% rename from .agents/rules/05-forbidden-actions.md rename to .windsurf/rules/05-forbidden-actions.md diff --git a/.agents/rules/06-backend-patterns.md b/.windsurf/rules/06-backend-patterns.md similarity index 100% rename from .agents/rules/06-backend-patterns.md rename to .windsurf/rules/06-backend-patterns.md diff --git a/.agents/rules/07-frontend-patterns.md b/.windsurf/rules/07-frontend-patterns.md similarity index 100% rename from .agents/rules/07-frontend-patterns.md rename to .windsurf/rules/07-frontend-patterns.md diff --git a/.agents/rules/08-development-flow.md b/.windsurf/rules/08-development-flow.md similarity index 100% rename from .agents/rules/08-development-flow.md rename to .windsurf/rules/08-development-flow.md diff --git a/.agents/rules/09-commit-checklist.md b/.windsurf/rules/09-commit-checklist.md similarity index 100% rename from .agents/rules/09-commit-checklist.md rename to .windsurf/rules/09-commit-checklist.md diff --git a/.agents/rules/10-error-handling.md b/.windsurf/rules/10-error-handling.md similarity index 100% rename from .agents/rules/10-error-handling.md rename to .windsurf/rules/10-error-handling.md diff --git a/.agents/rules/11-ai-integration.md b/.windsurf/rules/11-ai-integration.md similarity index 100% rename from .agents/rules/11-ai-integration.md rename to .windsurf/rules/11-ai-integration.md