ci(npm-publish): add missing github package token to env vars (#30665)

This commit is contained in:
Jack Westbrook 2021-01-27 15:13:08 +01:00 committed by GitHub
parent 701ad79bb5
commit 54b1ce2cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -966,6 +966,8 @@ steps:
commands:
- ./scripts/build/release-packages.sh ${DRONE_TAG}
environment:
GITHUB_PACKAGE_TOKEN:
from_secret: github_package_token
NPM_TOKEN:
from_secret: npm_token
depends_on:
@ -1842,6 +1844,8 @@ steps:
- name: release-npm-packages
image: grafana/build-container:1.3.1
environment:
GITHUB_PACKAGE_TOKEN:
from_secret: github_package_token
NPM_TOKEN:
from_secret: npm_token
depends_on:

View File

@ -53,6 +53,9 @@ def release_npm_packages_step(edition, ver_mode):
'NPM_TOKEN': {
'from_secret': 'npm_token',
},
'GITHUB_PACKAGE_TOKEN': {
'from_secret': 'github_package_token',
},
},
'commands': commands,
}