Compare commits
2 Commits
master
...
c5401d6abd
Author | SHA1 | Date | |
---|---|---|---|
c5401d6abd | |||
020f01bce9 |
15
build.sh
15
build.sh
@@ -44,13 +44,12 @@ rm -rf public static/css
|
|||||||
./tailwindcss -i css/index.css -o ./static/css/index.css --minify
|
./tailwindcss -i css/index.css -o ./static/css/index.css --minify
|
||||||
|
|
||||||
|
|
||||||
# echo "Building without prefix..."
|
echo "Building for staging deployment..."
|
||||||
# sed 's|base_url = "BASEURL"|base_url = "https://www.mycelium.threefold.io/"|' config.templ.toml > config.toml
|
sed 's|base_url = "BASEURL"|base_url = "https://www2.mycelium.threefold.io/"|' config.templ.toml > config.toml
|
||||||
# zola --root $ABS_DIR_OF_SCRIPT build
|
|
||||||
# rsync -avz --delete public/ "root@threefold.info:/root/hero/www/info/$PREFIX/"
|
|
||||||
|
|
||||||
echo "Building with prefix: /$PREFIX/"
|
|
||||||
sed 's|base_url = "BASEURL"|base_url = "/mycelium/"|' config.templ.toml > config.toml
|
|
||||||
zola --root $ABS_DIR_OF_SCRIPT build
|
zola --root $ABS_DIR_OF_SCRIPT build
|
||||||
rsync -rav --delete public/ "${HOME}/hero/var/www/$PREFIX/"
|
rsync -avz --delete public/ "root@threefold.info:/root/hero/www/info/$PREFIX/"
|
||||||
|
|
||||||
|
# echo "Building with prefix: /$PREFIX/"
|
||||||
|
# sed 's|base_url = "BASEURL"|base_url = "/mycelium/"|' config.templ.toml > config.toml
|
||||||
|
# zola --root $ABS_DIR_OF_SCRIPT build
|
||||||
|
# rsync -rav --delete public/ "${HOME}/hero/var/www/$PREFIX/"
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
# The URL the site will be built for
|
# The URL the site will be built for
|
||||||
base_url = "https://www.mycelium.threefold.io/"
|
base_url = "https://www2.mycelium.threefold.io/"
|
||||||
# Change this to your own URL! Please note this variable **must** be uncommented .
|
|
||||||
|
|
||||||
title = "Mycelium"
|
title = "Mycelium"
|
||||||
description = "Our global digital backbone"
|
description = "Our global digital backbone"
|
||||||
|
Reference in New Issue
Block a user