From 92387c6ec0520776f2380710d8c582f8a9fc856e Mon Sep 17 00:00:00 2001 From: Valentin Doreau Date: Mon, 14 Oct 2024 21:58:20 +0200 Subject: [PATCH] chore: transformed deploy into simple build script --- deploy.sh => build.sh | 8 -------- 1 file changed, 8 deletions(-) rename deploy.sh => build.sh (63%) diff --git a/deploy.sh b/build.sh similarity index 63% rename from deploy.sh rename to build.sh index 329c5f6..a81b676 100755 --- a/deploy.sh +++ b/build.sh @@ -2,9 +2,6 @@ set -e -DESTINATION=root@static.recycled.cloud:/var/www/ -WEBSITE=recycled.cloud - for locale in en fr; do (cd $locale/; make clean; make all) done @@ -17,8 +14,3 @@ for locale in en fr; do cp -r assets $workdir/$locale done cp en/index.html $workdir - -sftp -b - "$DESTINATION" <<- EOF - -rm ${WEBSITE:?}/* - put -R ${workdir:?}/* $WEBSITE -EOF