File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,24 @@ jobs:
139139            cd .ci && aws s3 cp . s3://$TRAVIS_S3_BUCKET/documentation-v2/$TRAVIS_BUILD_NUMBER --recursive --exclude "*.sh" --exclude "*.html" --exclude "*.yml" --exclude ".gitignore" && cd - 
140140          fi; 
141141
142+ stage : Snippets tests 
143+       name : " Temporarily Deploy Kuzzle Docs with failling tests" 
144+ 
145+       if : type != pull_request AND branch = master 
146+ 
147+       language : node_js 
148+       node_js :
149+         - " 8" 
150+ 
151+       script :
152+         - npm install 
153+         - npm run build 
154+ 
155+       after_success :
156+         - aws s3 sync build/ s3://$AWS_S3_BUCKET/ --delete 
157+         - aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_DISTRIBUTION_ID --paths "/*" 
158+ 
159+ 
142160#  -----------------------------------------------------------------------------
143161#  Pull Request comment
144162#  -----------------------------------------------------------------------------
@@ -176,6 +194,3 @@ jobs:
176194
177195      after_deploy :
178196        - aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_DISTRIBUTION_ID --paths "/*" 
179- 
180- 
181- 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments