This commit is contained in:
@@ -10,9 +10,8 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu
|
||||
steps:
|
||||
# 使用 Gitea 官方镜像加速 Checkout,避免连接 GitHub 超时
|
||||
- name: Checkout
|
||||
uses: https://gitea.com/actions/checkout@v3
|
||||
# 直接使用 sshpass 连接服务器操作,完全绕过本地 Checkout 和 Node.js 环境依赖
|
||||
# 因为我们的逻辑全部都在服务器上执行(git pull),所以本地 Runner 只需要能连上 SSH 即可
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user