Update .gitlab-ci.yml
This commit is contained in:
		
							parent
							
								
									5549fd3431
								
							
						
					
					
						commit
						df75c5d363
					
				| 
						 | 
					@ -9,18 +9,9 @@ before_script:
 | 
				
			||||||
  - apt-get install -y zip unzip nodejs jsonlint
 | 
					  - apt-get install -y zip unzip nodejs jsonlint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
stages:
 | 
					stages:
 | 
				
			||||||
  - test
 | 
					 | 
				
			||||||
  - build
 | 
					  - build
 | 
				
			||||||
  - deploy
 | 
					  - deploy
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test rules:
 | 
					 | 
				
			||||||
  stage: test
 | 
					 | 
				
			||||||
  script:
 | 
					 | 
				
			||||||
    - jsonlint-php data/data.min.json
 | 
					 | 
				
			||||||
  only:
 | 
					 | 
				
			||||||
    changes:
 | 
					 | 
				
			||||||
      - data/data.min.json
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
hash rules:
 | 
					hash rules:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
| 
						 | 
					@ -32,12 +23,6 @@ hash rules:
 | 
				
			||||||
      - rules.min.hash
 | 
					      - rules.min.hash
 | 
				
			||||||
      - data.minify.json
 | 
					      - data.minify.json
 | 
				
			||||||
      - rules.minify.hash
 | 
					      - rules.minify.hash
 | 
				
			||||||
  only:
 | 
					 | 
				
			||||||
    refs:
 | 
					 | 
				
			||||||
      - merge_requests
 | 
					 | 
				
			||||||
      - master
 | 
					 | 
				
			||||||
    changes:
 | 
					 | 
				
			||||||
      - data/data.min.json
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
bundle addon:
 | 
					bundle addon:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
| 
						 | 
					@ -63,12 +48,3 @@ pages:
 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
      - public
 | 
					      - public
 | 
				
			||||||
  only:
 | 
					 | 
				
			||||||
    refs:
 | 
					 | 
				
			||||||
      - merge_requests
 | 
					 | 
				
			||||||
      - master
 | 
					 | 
				
			||||||
    changes:
 | 
					 | 
				
			||||||
      - GitLabPages/*
 | 
					 | 
				
			||||||
      - img/clearurls.svg
 | 
					 | 
				
			||||||
      - data/data.min.json
 | 
					 | 
				
			||||||
      - build_tools/minifyDataJSON.js
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user