Compare commits
	
		
			1 commit
		
	
	
		
			0d2166e9ef
			...
			7f905620d3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7f905620d3 | 
					 1 changed files with 51 additions and 0 deletions
				
			
		
							
								
								
									
										51
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										51
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
					@ -87,3 +87,54 @@ steps:
 | 
				
			||||||
  pull: if-not-exists
 | 
					  pull: if-not-exists
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
    - ./tools/ci/static_analysis/clang_format.sh
 | 
					    - ./tools/ci/static_analysis/clang_format.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker 
 | 
				
			||||||
 | 
					name: documentation — development
 | 
				
			||||||
 | 
					node:
 | 
				
			||||||
 | 
					  environment: ryali
 | 
				
			||||||
 | 
					trigger:
 | 
				
			||||||
 | 
					  branch:
 | 
				
			||||||
 | 
					  - main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: build and deploy
 | 
				
			||||||
 | 
					  image: documentation:latest
 | 
				
			||||||
 | 
					  pull: if-not-exists
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					    - pwd
 | 
				
			||||||
 | 
					    - cd docs
 | 
				
			||||||
 | 
					    - mkdir generated
 | 
				
			||||||
 | 
					    - touch generated/changelogs.rst
 | 
				
			||||||
 | 
					    - touch generated/api.rst
 | 
				
			||||||
 | 
					    - sphinx-build -M html . .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - rm -rf /light_docs_dev/*
 | 
				
			||||||
 | 
					    - mv ./html/* /light_docs_dev/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker
 | 
				
			||||||
 | 
					name: documentation — production
 | 
				
			||||||
 | 
					node:
 | 
				
			||||||
 | 
					  environment: ryali
 | 
				
			||||||
 | 
					trigger:
 | 
				
			||||||
 | 
					  event:
 | 
				
			||||||
 | 
					  - tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: build and deploy
 | 
				
			||||||
 | 
					  image: documentation:latest
 | 
				
			||||||
 | 
					  pull: if-not-exists
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					    - pwd
 | 
				
			||||||
 | 
					    - cd docs
 | 
				
			||||||
 | 
					    - mkdir generated
 | 
				
			||||||
 | 
					    - touch generated/changelogs.rst
 | 
				
			||||||
 | 
					    - touch generated/api.rst
 | 
				
			||||||
 | 
					    - sphinx-build -M html . .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - rm -rf /light_docs/*
 | 
				
			||||||
 | 
					    - mv ./html/* /light_docs/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue