Add basic deploy script
This commit is contained in:
		
							parent
							
								
									0c40ac4646
								
							
						
					
					
						commit
						b8efe39d7d
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -3,6 +3,7 @@ node_modules | ||||||
| /build | /build | ||||||
| /.svelte-kit | /.svelte-kit | ||||||
| /package | /package | ||||||
|  | /public | ||||||
| .env | .env | ||||||
| .env.* | .env.* | ||||||
| !.env.example | !.env.example | ||||||
|  |  | ||||||
|  | @ -8,7 +8,8 @@ | ||||||
| 		"preview": "vite preview", | 		"preview": "vite preview", | ||||||
| 		"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | 		"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||||||
| 		"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | 		"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||||||
| 		"lint": "eslint ." | 		"lint": "eslint .", | ||||||
|  | 		"deploy": "git pull; vite build; rm -rf public/; mv build/ public/" | ||||||
| 	}, | 	}, | ||||||
| 	"devDependencies": { | 	"devDependencies": { | ||||||
| 		"@sveltejs/adapter-auto": "^3.0.0", | 		"@sveltejs/adapter-auto": "^3.0.0", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue