From 2e4148f71e0e987b95b90924ed66fea9af958b1d Mon Sep 17 00:00:00 2001 From: gitadmin Date: Thu, 14 Aug 2025 23:46:27 +0900 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/deploy.ym?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ドメイン:https://krgm.so-manager-dev.com/ を自動反映するため Signed-off-by: gitadmin --- .gitea/workflows/deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..07212d1 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,14 @@ +name: Deploy krgm (auto) + +on: + push: + branches: [ "main" ] # 只在 main 有更新时部署 + workflow_dispatch: # 允许手动触发 + +jobs: + deploy: + runs-on: [ "native:host" ] # 和你 runner 的 label 一致 + steps: + - uses: actions/checkout@v4 + - name: Deploy to server + run: /usr/local/bin/deploy_krgm.sh \ No newline at end of file