From d819f7b0b719e0b446e3d80c4c7844e53b4b8242 Mon Sep 17 00:00:00 2001 From: npmrun <1549469775@qq.com> Date: Thu, 30 Apr 2026 10:46:24 +0800 Subject: [PATCH] feat(drone): add debug step to deployment script for troubleshooting - Introduced a new debug step in the .drone.yml file to output the current PATH, user, and locations of Node.js and PM2. - This addition aims to assist in troubleshooting deployment issues by providing visibility into the environment configuration during the CI/CD process. --- .drone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.drone.yml b/.drone.yml index b8cf752..f608839 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,12 @@ trigger: - push steps: + - name: debug + commands: + - echo $PATH + - whoami + - which node + - which pm2 - name: deploy environment: # exec runner 常不设置 HOME,会导致 ~/.bun、~/.nvm 等路径展开错误