chore: transformed deploy into simple build script
This commit is contained in:
parent
116be84100
commit
92387c6ec0
1 changed files with 0 additions and 8 deletions
|
@ -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
|
Loading…
Reference in a new issue