From 6a0662135b4d6db68869b5832a1d36c9d54d1656 Mon Sep 17 00:00:00 2001 From: odweta Date: Sat, 12 Sep 2026 15:28:17 +0200 Subject: [PATCH] hotfix: deploy script --- deploy.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 42f5f06..2f2aac9 100644 --- a/deploy.sh +++ b/deploy.sh @@ -8,8 +8,9 @@ out=/var/www/html echo "[i] deploying website..." -sudo rm -fr $out/** # nuke the previous state -sudo cp -r ./static/* $out/ # copy the source files into the prod. env. -sudo chmod 444 $out/** # make the files read-only +sudo rm -fr $out/** # nuke the previous state +sudo cp -r ./static/* $out/ # copy the source files into the prod. env. +sudo cp -r ./static/css/* $out/css/ # copy the stylesheets over +sudo chmod 444 $out/** # make the files read-only echo "[i] website deployed successfully!" \ No newline at end of file