Revert "ci(site): web 发版从 ubuntu-latest 迁到 nas runner"
This reverts commit 7e357ce.
原判断有误:以为 ubuntu-latest 无对应 runner。管理后台确认 gitea 有一个
**全局**在线 runner `nas-runner`(id 2, label ubuntu-latest),它服务所有仓库
(含 pangolin)——web 发版本来就有 runner、并未卡住。恢复 runs-on: ubuntu-latest,
用回这个专供 web/node 的全局 runner,而非把 web 挪到 Mac host runner。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,15 +12,13 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
deploy-site:
|
||||
runs-on: nas
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# runs-on: nas(host 模式,mac-pangolin-2 宿主 Mac)。Mac 自带 node/npm/npx,
|
||||
# 直接 host 跑 —— 从 ubuntu-latest 迁来:pangolin 无 ubuntu runner,原 job 永久排队。
|
||||
# 内存:Astro 轻(几百 MB)、Next.js next build 峰值 ~1-2GB,Mac 足够(不放内存紧的
|
||||
# pangolin1/NAS-Linux)。wrangler pages deploy 需网络 + CF token(已配 secret)。
|
||||
# runner 镜像 catthehacker/ubuntu:act-latest 自带 node/npx,直接跑;
|
||||
# 不用嵌套 docker run(job 容器内的 $PWD 在宿主上不存在,DinD 挂载会失败)。
|
||||
- name: Compile (Astro 官网)
|
||||
env:
|
||||
SITE_URL: https://pangolin.yanmeiai.com
|
||||
|
||||
Reference in New Issue
Block a user