From f822e319bafac901ba4b638f06b0ff0e4311952b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Tue, 2 Jun 2026 23:00:03 +0800 Subject: [PATCH] cicd --- .gitea/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 4647b04..6058376 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,11 +1,11 @@ name: 自动部署 on: push: - branches: [ master ] + branches: [ main ] jobs: 部署应用: runs-on: ubuntu-latest steps: - name: 调用容器内部署脚本 run: | - docker exec gitea-runner /opt/deploy.sh "${GITEA_REPO_URL}" "${GITEA_BRANCH}" \ No newline at end of file + docker exec gitea-runner /opt/deploy.sh "${GITEA_REPO_CLONE_URL}" "${GITEA_COMMIT_BRANCH}" \ No newline at end of file