hotfix: inherit file permissions

This commit is contained in:
odweta
2026-09-12 15:40:59 +02:00
parent 33ab0f9dab
commit de555ba250
Regular → Executable
-2
View File
@@ -11,7 +11,5 @@ echo "[i] deploying website..."
sudo rm -fr $out/** # nuke the previous state 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/* $out/ # copy the source files into the prod. env.
sudo cp -r ./static/css/* $out/css/ # copy the stylesheets over sudo cp -r ./static/css/* $out/css/ # copy the stylesheets over
sudo chmod 444 $out/** # make the files read-only
sudo chmod 755 $out/css/ # give the css/ folder the correct permissions
echo "[i] website deployed successfully!" echo "[i] website deployed successfully!"