Skip to content

Commit 6236c26

Browse files
committed
build: fix web deploy
1 parent 9cca64a commit 6236c26

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.script/web-deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ mkdir --mode 775 --verbose web
22
nix build .#web --out-link relWeb
33
cp --dereference --recursive -v relWeb/LogOut web/LogOut
44
tar -czvf web.tar.gz -C web LogOut
5+
chmod --recursive 775 web # Files from Nix store come read-only
56
# Copy Release in Preview to avoid 404s
67
cp --dereference --recursive -v relWeb/LogOut web/LogOut/preview

.script/web-preview-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ gh release download --pattern "web.tar.gz" --dir .
33
if [ -f "web.tar.gz" ]; then
44
tar -xzvf web.tar.gz -C web/
55
if [ -d "web/LogOut" ]; then
6-
chmod 775 web/LogOut
6+
chmod --recursive 775 web/LogOut
77
else
88
echo "WARNING: No LogOut directory found in web archive, stopping now"
99
exit 1

0 commit comments

Comments
 (0)