ci: check existence of CI variables
This commit is contained in:
		
							parent
							
								
									193d462d25
								
							
						
					
					
						commit
						1f79224b32
					
				|  | @ -44,7 +44,7 @@ cloudflare: | |||
|     - curl -X POST "https://api.cloudflare.com/client/v4/pages/webhooks/deploy_hooks/$CLOUDFLARE_BUILD_HOOK" | ||||
| 
 | ||||
|   rules: | ||||
|     - if: '$CLOUDFLARE == "true"' | ||||
|     - if: $CLOUDFLARE_BUILD_HOOK | ||||
| 
 | ||||
| netlify: | ||||
|   stage: deploy | ||||
|  | @ -59,4 +59,4 @@ netlify: | |||
|     - netlify deploy --dir=public --prod | ||||
| 
 | ||||
|   rules: | ||||
|     - if: '$NETLIFY == "true"' | ||||
|     - if: $NETLIFY_SITE_ID | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue