This commit is contained in:
		
					parent
					
						
							
								269f3995ba
							
						
					
				
			
			
				commit
				
					
						1de32bc6a2
					
				
			
		
					 1 changed files with 43 additions and 43 deletions
				
			
		
							
								
								
									
										86
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										86
									
								
								.drone.yml
									
										
									
									
									
								
							|  | @ -7,52 +7,52 @@ environment: | |||
|   NGINX_GID: 476 | ||||
| 
 | ||||
| steps: | ||||
| - name: submodules | ||||
|   image: alpine/git | ||||
|   commands: | ||||
|   - git submodule update --init --recursive --remote themes/ananke/ | ||||
|   - name: submodules | ||||
|     image: alpine/git | ||||
|     commands: | ||||
|       - git submodule update --init --recursive --remote themes/ananke/ | ||||
| 
 | ||||
| - name: build | ||||
|   image: plugins/hugo | ||||
|   settings: | ||||
|     hugo_version: 0.79.0 | ||||
|     validate: false | ||||
|   - name: build | ||||
|     image: plugins/hugo | ||||
|     settings: | ||||
|       hugo_version: 0.79.0 | ||||
|       validate: false | ||||
| 
 | ||||
| - name: "fix-links" | ||||
|   image: alpine: | ||||
|   commands: | ||||
|    - cd public/ | ||||
|    - mkdir -p feed | ||||
|    - mv index.xml feed/atom.xml | ||||
|   - name: fix-links | ||||
|     image: alpine | ||||
|     commands: | ||||
|       - cd public/ | ||||
|       - mkdir -p feed | ||||
|       - mv index.xml feed/atom.xml | ||||
| 
 | ||||
| - name: deploy | ||||
|   image: einar/drone-rsync | ||||
|   pull: never | ||||
|   settings: | ||||
|     source: public/ | ||||
|     target: /tmp/denno/ | ||||
|     recursive: true | ||||
|     user: 476 | ||||
|   volumes: | ||||
|    - name: site | ||||
|      path: /site | ||||
|    - name: denno | ||||
|      path: /tmp/denno | ||||
|   - name: deploy | ||||
|     image: einar/drone-rsync | ||||
|     pull: never | ||||
|     settings: | ||||
|       source: public/ | ||||
|       target: /tmp/denno/ | ||||
|       recursive: true | ||||
|       user: 476 | ||||
|     volumes: | ||||
|       - name: site | ||||
|         path: /site | ||||
|       - name: denno | ||||
|         path: /tmp/denno | ||||
| 
 | ||||
| - name: permissions | ||||
|   image: alpine | ||||
|   commands: | ||||
|    - chown -R $NGINX_UID:$NGINX_ID /tmp/denno/ | ||||
|    - ls -l /tmp/denno | ||||
|   volumes: | ||||
|    - name: site | ||||
|      path: /site | ||||
|    - name: denno | ||||
|      path: /tmp/denno | ||||
|   - name: permissions | ||||
|     image: alpine | ||||
|     commands: | ||||
|       - chown -R $NGINX_UID:$NGINX_ID /tmp/denno/ | ||||
|       - ls -l /tmp/denno | ||||
|     volumes: | ||||
|       - name: site | ||||
|         path: /site | ||||
|       - name: denno | ||||
|         path: /tmp/denno | ||||
| 
 | ||||
| volumes: | ||||
| - name: site | ||||
|   host: | ||||
|     path: /tmp/ | ||||
| - name: denno | ||||
|   temp: {} | ||||
|   - name: site | ||||
|     host: | ||||
|       path: /tmp/ | ||||
|   - name: denno | ||||
|     temp: {} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue