From 951005c6168cb463108a35c6d3f904477274b5f2 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Fri, 6 Mar 2026 11:06:27 +0800 Subject: [PATCH] =?UTF-8?q?[DOCS]=20=E6=9B=B4=E6=96=B0=E9=96=8B=E7=99=BC?= =?UTF-8?q?=E6=A1=86=E6=9E=B6=E8=A6=8F=E7=AF=84=E8=AA=AA=E6=98=8E=E6=9B=B8?= =?UTF-8?q?=EF=BC=9A=E5=8A=A0=E5=85=A5=20CI/CD=20=E8=87=AA=E5=8B=95?= =?UTF-8?q?=E5=8C=96=E9=83=A8=E7=BD=B2=E8=88=87=E6=9F=A5=E4=BF=AE=E4=B8=BB?= =?UTF-8?q?=E6=A9=9F=E9=80=A3=E7=B7=9A=E8=B3=87=E8=A8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agents/rules/framework.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.agents/rules/framework.md b/.agents/rules/framework.md index e2e4021..91cfb80 100644 --- a/.agents/rules/framework.md +++ b/.agents/rules/framework.md @@ -78,4 +78,9 @@ trigger: always_on * **執行 PHP 指令**: `./vendor/bin/sail php -v` * **執行 Artisan 指令**: `./vendor/bin/sail artisan route:list` * **執行 Composer**: `./vendor/bin/sail composer install` -* **執行 Node/NPM**: `./vendor/bin/sail npm run dev` \ No newline at end of file +* **執行 Node/NPM**: `./vendor/bin/sail npm run dev` + +## 10. 部署與查修環境 (CI/CD & Troubleshooting) +* **自動化部署**:本專案使用 CI/CD 自動化部署,開發者只需 push 程式碼至對應分支即可。 +* **Demo 環境 (對應 `demo` 分支)**:若需查修測試站問題(例如查看 Error Log 或資料庫),請連線 `ssh gitea_work`。 +* **Production 環境 (對應 `main` 分支)**:若需查修正式站問題,請連線 `ssh erp`。 \ No newline at end of file