<aside> šØ
DotCom is now a Cloud instance. For operational handbook, please refer to https://cloud-ops.sgdev.org/dashboard/environments/prod/instances/src-f475db9158c1422460dd. This page will be either archived or rewritten shortly.
</aside>
This page documents how to update Sourcegraph.com site configuration.
Also refer to [Sourcegraph.com (dotcom) operational playbooks](https://sourcegraph.notion.site/Sourcegraph-com-dotcom-operational-playbooks-b3b6e85251f6437499a68b449dc782af) for more general playbooks.
<aside> ā Why canāt I edit the page through the site-admin page? Site configuration for Sourcegraph.com is split into two files. One contains non-sensitive configurations and the other production secrets such as GitHub OAuth credentials. The instance loads site configuration from these files, and they cannot be edited from the Sourcegraph.com user interface.
</aside>
Non-sensitive configurations and env vars are stored in anĀ overlay. Other config files can be found in theĀ overlay folder. To update the non-sensitive configuration, follow these steps:
Our site configuration contains many secrets like OAuth credentials. It isĀ stored in GSMĀ in theĀ sourcegraph-dev
Ā project. The secrets are synced to the cluster usingĀ Terraform, and is managed in theĀ dotcom workspaceĀ on Terraform Cloud.
To update secrets in site config for our Dotcom deployment, follow these steps:
sourcegraph-dev
project.