1 parent 9cca64a commit 6236c26Copy full SHA for 6236c26
2 files changed
.script/web-deploy.sh
@@ -2,5 +2,6 @@ mkdir --mode 775 --verbose web
2
nix build .#web --out-link relWeb
3
cp --dereference --recursive -v relWeb/LogOut web/LogOut
4
tar -czvf web.tar.gz -C web LogOut
5
+chmod --recursive 775 web # Files from Nix store come read-only
6
# Copy Release in Preview to avoid 404s
7
cp --dereference --recursive -v relWeb/LogOut web/LogOut/preview
.script/web-preview-deploy.sh
@@ -3,7 +3,7 @@ gh release download --pattern "web.tar.gz" --dir .
if [ -f "web.tar.gz" ]; then
tar -xzvf web.tar.gz -C web/
if [ -d "web/LogOut" ]; then
- chmod 775 web/LogOut
+ chmod --recursive 775 web/LogOut
else
8
echo "WARNING: No LogOut directory found in web archive, stopping now"
9
exit 1
0 commit comments