[v9.4.x] CI: Move npm token to Vault (#73457)

CI: Move npm token to Vault (#73407)

(cherry picked from commit c86a73c794)
This commit is contained in:
Horst Gutmann
2023-08-18 09:00:08 +03:00
committed by GitHub
parent c583fc795e
commit 7165da76cb
4 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -53,6 +53,7 @@ load(
"scripts/drone/vault.star",
"from_secret",
"gcp_upload_artifacts_key",
"npm_token",
"prerelease_bucket",
)
load(
@@ -122,7 +123,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}"],
}