更新 .drone.yml

This commit is contained in:
zhangkaihuai
2025-06-14 14:56:50 +00:00
parent 861a6489c7
commit f42eacd06e

View File

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