Update deploy command

This commit is contained in:
pancakes 2024-11-18 17:10:34 +10:00
parent 2f8a0279eb
commit 2fd30ed940
No known key found for this signature in database
GPG key ID: ED53D426432B861B

View file

@ -9,7 +9,7 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "eslint .",
"deploy": "git pull; npm ci; vite build"
"deploy": "git pull; npm ci; vite build; sudo rm -r /srv/website; sudo cp --no-preserve=ownership build /srv/website"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",