chore(ci): limit netlify build to schedule job
This commit is contained in:
		
							parent
							
								
									c4b7612b01
								
							
						
					
					
						commit
						680e71dc8d
					
				|  | @ -37,4 +37,5 @@ netlify: | |||
|     - curl -X POST -d '{}' https://api.netlify.com/build_hooks/$NETLIFY_BUILD_HOOK | ||||
| 
 | ||||
|   rules: | ||||
|     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH | ||||
|     # Only trigger through schedule job and "Run pipeline" in the main branch | ||||
|     - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web")' | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue