This commit is contained in:
		
					parent
					
						
							
								7560ab1423
							
						
					
				
			
			
				commit
				
					
						64e8875565
					
				
			
		
					 1 changed files with 10 additions and 14 deletions
				
			
		|  | @ -3,25 +3,21 @@ workspace: | |||
|   path: data | ||||
| 
 | ||||
| pipeline: | ||||
|   #get_submodules: | ||||
|     #image: alpine/git | ||||
|     #commands: | ||||
|       #- git submodule update --init --recursive --remote themes/ananke/ | ||||
|   build: | ||||
|     image: einar/hugo | ||||
|     commands: | ||||
|       - git lfs pull | ||||
|       - hugo --destination /checkout/public | ||||
|   #cleanup: | ||||
|     #image: alpine | ||||
|     #environment: | ||||
|       #- NGINX_UID=476 | ||||
|       #- NGINX_GID=476 | ||||
|     #commands: | ||||
|       #- chown -R $NGINX_UID:$NGINX_ID /site/ | ||||
|       #- rm -f /site/.gitadd /site/.gitignore | ||||
|     #volumes: | ||||
|       #- /srv/www/htdocs/dennogumi.org:/site | ||||
|   cleanup: | ||||
|     image: alpine | ||||
|     environment: | ||||
|       - NGINX_UID=476 | ||||
|       - NGINX_GID=476 | ||||
|     commands: | ||||
|       - chown -R $NGINX_UID:$NGINX_ID /checkout/public/ | ||||
|       - rm -f /checkout/public/.gitadd /checkout/public/.gitignore | ||||
|     volumes: | ||||
|       - /srv/www/htdocs/dennogumi.org:/site | ||||
|   #deploy: | ||||
|     #image: einar/drone-rsync | ||||
|     #pull: never | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue