build: 更新项目结构并移除冗余文件

- 删除了 Go workflow 文件,简化构建流程
- 移除了 docker-compose.yml 文件,减少不必要的容器编排
- 更新了 README.md,精简了项目结构说明
This commit is contained in:
2025-07-05 19:31:53 +08:00
parent 6157045d45
commit 2fa59640e0
6 changed files with 9 additions and 404 deletions

View File

@@ -24,7 +24,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get Tag Name
- name: 获取tag名称
id: tag_name
run: |
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
@@ -34,7 +34,7 @@ jobs:
go-version: '1.20'
- name: Build logic
- name: 编译logic服务
run: go build -o ./public/logic_${{ env.TAG }} -v ./logic
- name: Upload Build Artifact
@@ -42,7 +42,7 @@ jobs:
with:
name: logic_${{ env.TAG }}
path: ./public/logic_${{ env.TAG }}
- name: Deploy to Server # 步骤3
- name: 推送到服务器
uses: easingthemes/ssh-deploy@main # 第三方SSH部署插件
env:
SSH_PRIVATE_KEY: ${{ secrets.BLAZING }} # 从仓库密钥读取私钥