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 |   NGINX_GID: 476 | ||||||
| 
 | 
 | ||||||
| steps: | steps: | ||||||
| - name: submodules |   - name: submodules | ||||||
|   image: alpine/git |     image: alpine/git | ||||||
|   commands: |     commands: | ||||||
|   - git submodule update --init --recursive --remote themes/ananke/ |       - git submodule update --init --recursive --remote themes/ananke/ | ||||||
| 
 | 
 | ||||||
| - name: build |   - name: build | ||||||
|   image: plugins/hugo |     image: plugins/hugo | ||||||
|   settings: |     settings: | ||||||
|     hugo_version: 0.79.0 |       hugo_version: 0.79.0 | ||||||
|     validate: false |       validate: false | ||||||
| 
 | 
 | ||||||
| - name: "fix-links" |   - name: fix-links | ||||||
|   image: alpine: |     image: alpine | ||||||
|   commands: |     commands: | ||||||
|    - cd public/ |       - cd public/ | ||||||
|    - mkdir -p feed |       - mkdir -p feed | ||||||
|    - mv index.xml feed/atom.xml |       - mv index.xml feed/atom.xml | ||||||
| 
 | 
 | ||||||
| - name: deploy |   - name: deploy | ||||||
|   image: einar/drone-rsync |     image: einar/drone-rsync | ||||||
|   pull: never |     pull: never | ||||||
|   settings: |     settings: | ||||||
|     source: public/ |       source: public/ | ||||||
|     target: /tmp/denno/ |       target: /tmp/denno/ | ||||||
|     recursive: true |       recursive: true | ||||||
|     user: 476 |       user: 476 | ||||||
|   volumes: |     volumes: | ||||||
|    - name: site |       - name: site | ||||||
|      path: /site |         path: /site | ||||||
|    - name: denno |       - name: denno | ||||||
|      path: /tmp/denno |         path: /tmp/denno | ||||||
| 
 | 
 | ||||||
| - name: permissions |   - name: permissions | ||||||
|   image: alpine |     image: alpine | ||||||
|   commands: |     commands: | ||||||
|    - chown -R $NGINX_UID:$NGINX_ID /tmp/denno/ |       - chown -R $NGINX_UID:$NGINX_ID /tmp/denno/ | ||||||
|    - ls -l /tmp/denno |       - ls -l /tmp/denno | ||||||
|   volumes: |     volumes: | ||||||
|    - name: site |       - name: site | ||||||
|      path: /site |         path: /site | ||||||
|    - name: denno |       - name: denno | ||||||
|      path: /tmp/denno |         path: /tmp/denno | ||||||
| 
 | 
 | ||||||
| volumes: | volumes: | ||||||
| - name: site |   - name: site | ||||||
|   host: |     host: | ||||||
|     path: /tmp/ |       path: /tmp/ | ||||||
| - name: denno |   - name: denno | ||||||
|   temp: {} |     temp: {} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue