ci: 添加 Gitea Actions 示例工作流

- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
hu xiaotong
2025-07-09 09:12:48 +08:00
parent f95a2a3c5b
commit 57a1d18718

View File

@@ -9,7 +9,7 @@ steps:
- go env -w GO111MODULE=on
- go env -w GOPROXY=https://goproxy.cn,direct
- go mod tidy
- GOOS=linux GOARCH=amd64 go build -o main main.go
- gf build main.go -n main -a amd64 -s linux
- name: upload
image: appleboy/drone-scp
@@ -20,7 +20,7 @@ steps:
from_secret: scp_password
port: 222
source:
- main
- linux_amd64/main
# - scripts/start.sh
target: /opt/dockeropt/epic-go