Merge branch 'hotfix-deploy-script-2' into 'main'
hotfix: deploy script css/ folder permissions See merge request odweta/sourceworks.dev!6
This commit is contained in:
@@ -12,5 +12,6 @@ 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 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!"
|
||||||
Reference in New Issue
Block a user