forked from docs/doc-exports
more verbosity
This commit is contained in:
@ -192,14 +192,11 @@ jobs:
|
||||
# Export env vars for convert_doc command
|
||||
env_str = " ".join([f'{k}="{v}"' for k, v in env_vars.items() if v])
|
||||
|
||||
# print(f"Generating docs for {env_vars['DOC_LABEL']}")
|
||||
print(f"Generating docs")
|
||||
print(f"Generating docs for {env_vars['DOC_LABEL']}")
|
||||
|
||||
# Convert the respective doc with metadata parameters
|
||||
result = run(f"otc-doc-convertor {env_str}", shell=True)
|
||||
# result = run("otc-doc-convertor {env_str}", shell=True)
|
||||
if result.returncode != 0:
|
||||
# print(f"Error running convert_doc for {env_vars['DOC_LABEL']}")
|
||||
print(f"Error running convert_doc for")
|
||||
print(f"Error running convert_doc for {env_vars['DOC_LABEL']}")
|
||||
exit(result.returncode)
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user