diff --git a/package.json b/package.json index 494e8d1..09087cc 100644 --- a/package.json +++ b/package.json @@ -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",