Set environment for SBV internally automatically to internal #238
@ -5,3 +5,4 @@
|
||||
|
||||
.. service_card::
|
||||
:service_type: {{ service_type }}
|
||||
:environment: {{ environment }}
|
||||
|
@ -201,6 +201,7 @@ def process_repositories(args, service):
|
||||
site_name="Internal Documentation Portal",
|
||||
logo_url="https://docs-int.otc-service.com",
|
||||
)
|
||||
context["environment"] = args.target_environment
|
||||
sgode marked this conversation as resolved
|
||||
sbv_title = (service["service_title"] + "\n"
|
||||
+ ('=' * len(service["service_title"])))
|
||||
context["sbv_title"] = sbv_title
|
||||
|
Loading…
x
Reference in New Issue
Block a user
maybe move it under if args.target_environment == “internal” condition as we normally add this only for internal environment.
in this place it where it is now would add it also for public environment.