forked from docs/doc-exports
adding some verbosity
This commit is contained in:
@ -113,9 +113,12 @@ jobs:
|
||||
|
||||
# Simulate categories[docs_service_category] defaulting to {}
|
||||
docs_service_category = data.get('categories', '') # adjust key if needed
|
||||
print(docs_service_category)
|
||||
categories = data.get('categories', {})
|
||||
print(categories)
|
||||
|
||||
doc_exports_var = categories.get(docs_service_category, {})
|
||||
print(doc_exports_var)
|
||||
|
||||
# Write doc_exports_var to env file, serialized as JSON for easy later processing
|
||||
import json
|
||||
|
||||
Reference in New Issue
Block a user