Default the npm token env var #105

Merged
telackey merged 1 commits from dboreham/fix-env-var-error into main 2023-01-09 20:37:48 +00:00
Showing only changes of commit 9d9eb791d1 - Show all commits

View File

@ -70,7 +70,7 @@ def command(ctx, include, exclude):
# TODO: make this configurable
container_build_env = {
"CERC_NPM_URL": "http://gitea.local:3000/api/packages/cerc-io/npm/",
"CERC_NPM_AUTH_TOKEN": os.environ["CERC_NPM_AUTH_TOKEN"],
"CERC_NPM_AUTH_TOKEN": config("CERC_NPM_AUTH_TOKEN", default="<token-not-supplied>"),
"CERC_REPO_BASE_DIR": dev_root_path
}