[v10.1.x] CI: Move npm token to Vault (#73455)

CI: Move npm token to Vault (#73407)

(cherry picked from commit c86a73c794)
This commit is contained in:
Horst Gutmann
2023-08-18 08:59:18 +03:00
committed by GitHub
parent af5bfce16b
commit 182837279b
4 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -55,6 +55,7 @@ load(
"scripts/drone/vault.star",
"from_secret",
"gcp_upload_artifacts_key",
"npm_token",
"prerelease_bucket",
)
load(
@@ -124,7 +125,7 @@ def release_npm_packages_step():
],
"failure": "ignore",
"environment": {
"NPM_TOKEN": from_secret("npm_token"),
"NPM_TOKEN": from_secret(npm_token),
},
"commands": ["./bin/build artifacts npm release --tag ${DRONE_TAG}"],
}