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