This commit is contained in:
2026-06-02 23:00:03 +08:00
parent 2962865857
commit f822e319ba

View File

@@ -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}"
docker exec gitea-runner /opt/deploy.sh "${GITEA_REPO_CLONE_URL}" "${GITEA_COMMIT_BRANCH}"