From 331896085d989fc05c2c6cf4acbbe130d8ca80fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BF=97=E5=A8=81?= Date: Tue, 11 Aug 2026 12:10:44 +0800 Subject: [PATCH] read Nexus credentials from shared Vault path --- .drone.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index c757979..0f83f5f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,9 +41,6 @@ steps: fi - git --version - | - sleep 30 - echo "Nexus username length: ${#NEXUS_USERNAME}" - echo "Nexus password length: ${#NEXUS_PASSWORD}" test -n "${NEXUS_USERNAME:-${NPM_USERNAME:-}}" || { echo "Nexus username secret is missing" exit 1 @@ -160,11 +157,11 @@ get: kind: secret name: nexus_username get: - path: drone/data/nexus_username + path: drone/data/nexus name: nexus_username --- kind: secret name: nexus_password get: - path: drone/data/nexus_password + path: drone/data/nexus name: nexus_password