Fill in the details to make this site deployable to nutmeg.erynwells.me/sandbox
This commit is contained in:
		
							parent
							
								
									03f5c1ada4
								
							
						
					
					
						commit
						2466dd8f38
					
				
					 2 changed files with 24 additions and 2 deletions
				
			
		
							
								
								
									
										22
									
								
								Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| # Eryn Wells <eryn@erynwells.me>
 | ||||
| 
 | ||||
| DEPLOY_USER=eryn | ||||
| DEPLOY_HOSTNAME=nutmeg.erynwells.me | ||||
| DEPLOY_PATH=/srv/www/nutmeg.erynwells.me/html/sandbox | ||||
| DEPLOY_LOCATION=$(DEPLOY_USER)@$(DEPLOY_HOSTNAME):$(DEPLOY_PATH) | ||||
| 
 | ||||
| HOSTNAME=$(shell hostname -s) | ||||
| 
 | ||||
| .PHONY: site deploy clean | ||||
| 
 | ||||
| site: | ||||
| 	@echo "Building site" | ||||
| 	hugo -D | ||||
| 
 | ||||
| deploy: site | ||||
| 	@echo "Deploying to $(DEPLOY_LOCATION)" | ||||
| 	rsync -avz --no-times --no-perms --delete public/ $(DEPLOY_LOCATION) | ||||
| 	git tag -f deploy-$(shell date +%Y-%m-%d) | ||||
| 
 | ||||
| clean: | ||||
| 	rm -rf public/ | ||||
|  | @ -1,6 +1,6 @@ | |||
| baseURL: https://example.org/ | ||||
| baseURL: "https://nutmeg.erynwells.me/sandbox" | ||||
| languageCode: en-us | ||||
| title: Test Site | ||||
| title: Eryn Wells | ||||
| 
 | ||||
| theme: | ||||
|   - blog | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue