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