chmod +x *.sh
This commit is contained in:
5
build.sh
5
build.sh
@@ -1,6 +1,9 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Ensure all shell scripts are executable
|
||||
chmod +x *.sh
|
||||
|
||||
PREFIX="indaba"
|
||||
|
||||
echo "building for folder: /$PREFIX/"
|
||||
@@ -15,4 +18,4 @@ pnpm run build
|
||||
# rsync -rav --delete dist/ "${HOME}/hero/var/www/$PREFIX/"
|
||||
|
||||
# deploy to threefold server
|
||||
rsync -avz --delete out/ "root@threefold.info:/root/hero/www/info/$PREFIX/"
|
||||
rsync -avz --delete out/ "root@threefold.info:/root/hero/www/info/$PREFIX/"
|
||||
|
Reference in New Issue
Block a user