更新 .gitea/workflows/push.yml
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 30s
Docker Build & Deploy / Deploy to Production (push) Has been skipped

This commit is contained in:
2025-03-06 15:53:41 +08:00
parent 3a274f5f63
commit addb31105e

View File

@@ -16,6 +16,10 @@ jobs:
# ✅ 使用 Gitea 兼容的代码检出方式 # ✅ 使用 Gitea 兼容的代码检出方式
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
gitea-server: http://suncheng.asia:14200
token: ${{ secrets.GITEA_TOKEN }}
ref: ${{ gitea.ref }} # 必须传递 Gitea 的 ref 参数
- name: Cleanup old containers - name: Cleanup old containers
run: | run: |