Add gitlab ci config to build docs
This commit is contained in:
		
							parent
							
								
									53b3217075
								
							
						
					
					
						commit
						75a4bf673f
					
				
					 3 changed files with 35 additions and 0 deletions
				
			
		|  | @ -59,3 +59,18 @@ k8s-ticket-testing-deploy: | ||||||
|   when: manual |   when: manual | ||||||
|   only: |   only: | ||||||
|   - ticket-testing |   - ticket-testing | ||||||
|  | 
 | ||||||
|  | pages: | ||||||
|  |   image: alpine | ||||||
|  |   script: | ||||||
|  |   - apk --no-cache add py2-pip python-dev make | ||||||
|  |   - pip install sphinx | ||||||
|  |   - cd docs | ||||||
|  |   - make html | ||||||
|  |   - cd .. | ||||||
|  |   - mv docs/_build/html public | ||||||
|  |   artifacts: | ||||||
|  |     paths: | ||||||
|  |     - public | ||||||
|  |   only: | ||||||
|  |   - master | ||||||
|  |  | ||||||
|  | @ -30,5 +30,16 @@ | ||||||
|             "end_date": "2018-01-23", |             "end_date": "2018-01-23", | ||||||
|             "slug": "miniconf" |             "slug": "miniconf" | ||||||
|         } |         } | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |         "fields": { | ||||||
|  |             "conference": 1, | ||||||
|  |             "end_date": "2018-01-22", | ||||||
|  |             "name": "Open Hardware Miniconf", | ||||||
|  |             "slug": "openhardware-miniconf", | ||||||
|  |             "start_date": "2018-01-22" | ||||||
|  |         }, | ||||||
|  |         "model": "symposion_conference.section", | ||||||
|  |         "pk": 3 | ||||||
|     } |     } | ||||||
| ] | ] | ||||||
|  |  | ||||||
|  | @ -47,5 +47,14 @@ | ||||||
|             "name": "Miniconf", |             "name": "Miniconf", | ||||||
|             "slug": "miniconf" |             "slug": "miniconf" | ||||||
|         } |         } | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |         "fields": { | ||||||
|  |             "name": "Open Hardware Miniconf", | ||||||
|  |             "section": 3, | ||||||
|  |             "slug": "openhardware-miniconf" | ||||||
|  |         }, | ||||||
|  |         "model": "symposion_proposals.proposalkind", | ||||||
|  |         "pk": 4 | ||||||
|     } |     } | ||||||
| ] | ] | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Polley
						James Polley