1
0
forked from erp-dev/erp

fix: woodpecker

This commit is contained in:
2025-11-14 17:42:32 +08:00
parent d130879d8e
commit 452a8805fb
2 changed files with 50 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ steps:
from_secret: deploy_password
port: 22
script:
- cd /path/to/your/project
- cd /root/project/erp
- git pull origin main
- uv sync
- uv run python manage.py migrate
@@ -42,4 +42,4 @@ steps:
# 验证 screen 会话是否创建成功
screen -ls | grep erp && echo "ERP server started in screen session"
when:
- evaluate: 'CI_PIPELINE_STATUS == "success"'
evaluate: 'CI_PIPELINE_STATUS == "success"'