From 23a4c871dfc631a4d22dcd6ddf06f9b9849e2f17 Mon Sep 17 00:00:00 2001 From: hu xiaotong <416314413@163.com> Date: Wed, 9 Jul 2025 08:21:06 +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 示例 --- .drone.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index ff9e0bd..c0c3a60 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,13 +24,13 @@ steps: # - scripts/start.sh target: /opt/dockeropt/epic-go -# - name: restart epic-go container -# image: appleboy/ssh -# settings: -# host: 193.112.151.199 -# username: root -# password: -# from_secret: scp_password -# port: 222 -# script: -# - docker restart epic-go \ No newline at end of file + - name: restart epic-go container + image: ghcr.io/appleboy/drone-ssh + settings: + host: 193.112.151.199 + username: root + password: + from_secret: scp_password + port: 222 + script: + - docker restart epic-go \ No newline at end of file