From 4984f4a308536e58320dd7ec810ad8b90f590725 Mon Sep 17 00:00:00 2001 From: Trae Assistant Date: Sun, 4 Oct 2026 23:36:40 +0800 Subject: [PATCH] =?UTF-8?q?ci(deploy):=20runs-on=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E5=86=99=E6=B3=95=E5=A4=9A=E6=A0=87=E7=AD=BE=E5=91=BD=E4=B8=AD?= =?UTF-8?q?(=E4=B8=89=E9=80=89=E4=B8=80)=EF=BC=8C=E5=85=BC=E5=AE=B9instanc?= =?UTF-8?q?e=E7=BA=A7act=5Frunner=E5=85=A8=E5=B1=80=E6=B3=A8=E5=86=8C+?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E7=BA=A7=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 写runs-on数组按顺序尝试匹配:1) 目标机已注册的全限定标签 ubuntu-latest:docker://catthehacker/ubuntu:act-22.04 - 2) self-hosted(主流act_runner实例默认标签前缀) 3) ubuntu-latest(简写) - 三种写法覆盖99%场景,避免后续换runner标签还要改yml - 下一commit触发Run #11,若Secrets已配置好则build+scp+compose up健康检查完成部署 --- .gitea/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 33b0ff8..0a37fa4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -7,7 +7,10 @@ on: jobs: deploy: - runs-on: ubuntu-latest:docker://catthehacker/ubuntu:act-22.04 + runs-on: + - ubuntu-latest:docker://catthehacker/ubuntu:act-22.04 + - self-hosted + - ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4