File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1010      - " prod" 
1111
1212jobs :
13-   deploy :
13+   prod_deploy :
1414    runs-on : ubuntu-latest 
15-     if : github.event.workflow_run.conclusion == 'success' 
15+     if : github.event.workflow_run.conclusion == 'success' || github.event_name == 'push'  
1616    steps :
1717      - name : Checkout repository 
1818        uses : actions/checkout@v4 
Original file line number Diff line number Diff line change 88  push :
99    branches :
1010      - " prod" 
11+   pull_request :
12+     branches :
13+       - " prod" 
1114
1215jobs :
1316  test_deploy :
1417    runs-on : ubuntu-latest 
15-     if : github.event.workflow_run.conclusion == 'success' 
18+     if : github.event.workflow_run.conclusion == 'success' || github.event_name == 'push' || (github.event_name == 'pull_request' && github.base_ref == 'prod')  
1619    steps :
1720      - name : Checkout repository 
1821        uses : actions/checkout@v4 
4548            echo "Container has failed" 
4649            exit 1 
4750          fi 
51+ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments