File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,11 @@ jobs:
9595          PGPASSWORD : postgres 
9696        run : | 
9797          # Check if migrations applied successfully from binary output 
98-           if grep -q  "migrations applied successfully" statesman.log; then 
98+           if grep -i  "migrations applied successfully\|migrations already up to date " statesman.log; then 
9999            echo "✅ Migrations applied successfully" 
100100          else 
101101            echo "❌ Migration success message not found in binary output" 
102+             cat statesman.log 
102103            exit 1 
103104          fi 
104105           
@@ -185,10 +186,11 @@ jobs:
185186        working-directory : taco 
186187        run : | 
187188          # Check if migrations applied successfully from binary output 
188-           if grep -q  "migrations applied successfully" statesman.log; then 
189+           if grep -i  "migrations applied successfully\|migrations already up to date " statesman.log; then 
189190            echo "✅ Migrations applied successfully" 
190191          else 
191192            echo "❌ Migration success message not found in binary output" 
193+             cat statesman.log 
192194            exit 1 
193195          fi 
194196           
@@ -250,10 +252,11 @@ jobs:
250252        working-directory : taco 
251253        run : | 
252254          # Check if migrations applied successfully from binary output 
253-           if grep -q  "migrations applied successfully" statesman.log; then 
255+           if grep -i  "migrations applied successfully\|migrations already up to date " statesman.log; then 
254256            echo "✅ Migrations applied successfully" 
255257          else 
256258            echo "❌ Migration success message not found in binary output" 
259+             cat statesman.log 
257260            exit 1 
258261          fi 
259262           
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments