File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ export const domain = (() => {
55} ) ( )
66
77export const zoneID = "430ba34c138cfb5360826c4909f99be8"
8- export const deployAws = $app . stage === "production" || $app . stage === "dev" || $app . stage === "adam"
8+ // Dev owns the shared AWS lake/stats infra for all non-production stages.
9+ export const awsStage = $app . stage === "production" ? "production" : "dev"
10+ export const deployAws = $app . stage === awsStage
911
1012const githubActionsDeployRole = ( ( ) => {
1113 if ( $app . stage !== "dev" && $app . stage !== "production" ) return
Original file line number Diff line number Diff line change 22
33export default $config ( {
44 app ( input ) {
5- const deployAws = input . stage === "production" || input . stage === "dev" || input . stage === "adam"
5+ // Dev owns the shared AWS lake/stats infra for all non-production stages.
6+ const awsStage = input . stage === "production" ? "production" : "dev"
7+ const deployAws = input . stage === awsStage
68 return {
79 name : "opencode" ,
810 removal : input ?. stage === "production" ? "retain" : "remove" ,
@@ -48,6 +50,7 @@ export default $config({
4850 return {
4951 StatWorkerUrl : stat . url ,
5052 // StatsUrl: stats.app.url,
53+ AwsStage : stage . awsStage ,
5154 ...( stage . githubActionsDeployRoleArn ? { GithubActionsDeployRoleArn : stage . githubActionsDeployRoleArn } : { } ) ,
5255 }
5356 } ,
You can’t perform that action at this time.
0 commit comments