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