From 76dfd3335cdcca0fa2b992a58775c7ee99e26a30 Mon Sep 17 00:00:00 2001 From: hu xiaotong <416314413@163.com> Date: Thu, 26 Jun 2025 14:43:43 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=20Gitea=20Actions=20?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 ci.yaml 文件,定义 Gitea Actions 示例 --- .gitea/workflows/ci.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 78058b8..cc86c62 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -167,4 +167,12 @@ jobs: mkdir -p deploy cp epic-game-service deploy/ cp -r manifest deploy/ - echo "📦 部署包已准备完成" \ No newline at end of file + echo "📦 部署包已准备完成" + + - name: 复制构建产物到目标目录并重命名 + run: | + echo "📤 复制构建产物到 /opt/dockeropt/epic-go 并重命名为 main ..." + mkdir -p /opt/dockeropt/epic-go + cp epic-game-service /opt/dockeropt/epic-go/main + echo "✅ 构建产物已复制并重命名为 /opt/dockeropt/epic-go/main" + ls -l /opt/dockeropt/epic-go \ No newline at end of file