From d6acc9cdb6902601c26927d1e93803861f83b113 Mon Sep 17 00:00:00 2001 From: zhangkaihuai Date: Sun, 15 Sep 2024 09:48:21 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.drone.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 774a454..1523e53 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,13 +20,11 @@ steps: - npm -v - mkdir -p ./node_modules - export NODE_MODULES_PATH=`pwd`/node_modules - - npm config set registry https://registry.npmmirror.com - - set NODE_OPTIONS=--openssl-legacy-provider + # - npm config set registry https://registry.npmmirror.com + # - set NODE_OPTIONS=--openssl-legacy-provider - npm install - - ls - - cd node_modules - - ls - npm run build + - ls /app/build/$DRONE_REPO_NAME/ - echo $NODE_MODULES_PATH - cp -r dist /app/build/$DRONE_REPO_NAME