refactor: update share to project

This commit is contained in:
Mauricio Siu
2024-11-17 21:39:02 -06:00
parent ddbb414225
commit a6e7edd4d9

View File

@@ -106,10 +106,10 @@ export const AddEnv = ({ projectId }: Props) => {
want to use it in your service, you need to use like this:
<ul>
<li>
<code>ENVIRONMENT=${"${{shared.ENVIRONMENT}}"}</code>
<code>ENVIRONMENT=${"{{project.ENVIRONMENT}}"}</code>
</li>
<li>
<code>DATABASE_URL=${"${{shared.DATABASE_URL}}"}</code>
<code>DATABASE_URL=${"{{project.DATABASE_URL}}"}</code>
</li>
</ul>{" "}
This allows the service to inherit and use the shared variables from