File tree Expand file tree Collapse file tree 5 files changed +8
-2
lines changed Expand file tree Collapse file tree 5 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3232        with :
3333          application-id : D6uz-lhAGBYuTTc6Jj_w0Q-a 
3434          environment-id : I9tfo2dWd7WSigXcO91feA-e 
35+           #  Intentionally trigger deprecation warning
36+           uri : ' https://sandbox.mabl.com' 
37+           app-url : ' https://storage.googleapis.com/public-test-pages/uptime/canary.html' 
3538          browser-types : | 
3639            chrome 
3740           plan-labels : | 
Original file line number Diff line number Diff line change 3333        with :
3434          application-id : D6uz-lhAGBYuTTc6Jj_w0Q-a 
3535          environment-id : I9tfo2dWd7WSigXcO91feA-e 
36+           #  Intentionally trigger deprecation warning
3637          uri : ' https://sandbox.mabl.com' 
3738          app-url : ' https://storage.googleapis.com/public-test-pages/uptime/canary.html' 
3839          browser-types : | 
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ export interface Application {
55  last_updated_time : number ; 
66  last_updated_by_id : string ; 
77  organization_id : string ; 
8+   workspace_id : string ; 
89  name : string ; 
910} 
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ export interface Environment {
55  last_updated_time : number ; 
66  last_updated_by_id : string ; 
77  organization_id : string ; 
8+   workspace_id : string ; 
89  name : string ; 
9- } 
10+ } 
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export async function run(enableFailureExitCodes = true): Promise<void> {
183183      return ;  // exit 
184184    } 
185185
186-     console . log ( 'here it is [%j]' ,   appOrEnv ) ; 
186+     const   effectiveWorkspaceId   =   appOrEnv . workspace_id   ??   appOrEnv . organization_id ; 
187187
188188    const  outputLink  =  `${ baseAppUrl }  /workspaces/${ appOrEnv . organization_id }  /events/${ deployment . id }  ` ; 
189189    core . info ( `Deployment triggered. View output at: ${ outputLink }  ` ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments