Initial commit
This commit is contained in:
		
							
								
								
									
										22
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: build
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: build
 | 
			
		||||
  image: squidfunk/mkdocs-material:7.1.9
 | 
			
		||||
  volumes:
 | 
			
		||||
  - name: site
 | 
			
		||||
    path: /site
 | 
			
		||||
  commands:
 | 
			
		||||
  - /usr/local/bin/python -m pip install --upgrade pip
 | 
			
		||||
  - pip install -U -r ./requirements.txt
 | 
			
		||||
  - mkdocs build
 | 
			
		||||
  - cp -r site/ /site
 | 
			
		||||
  - chmod -R 777 /site
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
- name: site
 | 
			
		||||
  host:
 | 
			
		||||
    path: /home/sthope/docker/wiki
 | 
			
		||||
		Reference in New Issue
	
	Block a user