更新 .drone.yml

This commit is contained in:
zhangkaihuai
2025-07-22 07:42:40 +00:00
parent ba58089e94
commit af2788583f

View File

@@ -14,8 +14,11 @@ steps:
path: /drone/src/node_modules
commands:
- export CI=false
- npm cache clean --force
- rm -rf node_modules
- mkdir -p /app/build/$DRONE_REPO_NAME
- rm -rf /app/build/$DRONE_REPO_NAME/*
- rm -rf node_modules
- cp deployment.yml /app/build/$DRONE_REPO_NAME/
- cp Dockerfile /app/build/$DRONE_REPO_NAME/
- cp .dockerignore /app/build/$DRONE_REPO_NAME/