ci: add dependency to cloudflare & netlify jobs
This commit is contained in:
		
							parent
							
								
									dfba0ce54e
								
							
						
					
					
						commit
						422b9751d5
					
				|  | @ -40,6 +40,9 @@ pages: | |||
| cloudflare: | ||||
|   stage: deploy | ||||
| 
 | ||||
|   dependencies: | ||||
|     - pages | ||||
| 
 | ||||
|   before_script: | ||||
|       - apk update && apk add curl | ||||
| 
 | ||||
|  | @ -52,15 +55,20 @@ cloudflare: | |||
| netlify: | ||||
|   stage: deploy | ||||
| 
 | ||||
|   dependencies: | ||||
|     - build_job | ||||
| 
 | ||||
|   before_script: | ||||
|     - npm install | ||||
|     - npm install netlify-cli -g | ||||
|     - netlify --telemetry-disable | ||||
| 
 | ||||
|   script: | ||||
|     - npm run build | ||||
|     - netlify deploy --dir=public --prod | ||||
| 
 | ||||
|   artifacts: | ||||
|     paths: | ||||
|       - public | ||||
| 
 | ||||
|   cache: | ||||
|     paths: | ||||
|       - node_modules/ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue