mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-30 04:01:59 +00:00
update deployment scrupt with rsync
This commit is contained in:
@@ -6,11 +6,14 @@ if [ "$0" != "./_utils/deploy_staging.sh" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "FILTER: build theme"
|
||||||
|
cd ../sphinx-scylladb-theme && npm run build && cd ../site
|
||||||
|
|
||||||
echo "FILTER: make multiversion"
|
echo "FILTER: make multiversion"
|
||||||
make clean && make multiversion
|
make clean && make multiversion
|
||||||
|
|
||||||
echo "FILTER: scp build"
|
echo "FILTER: rsync build"
|
||||||
scp -r _build/* root@staging.start9labs.com:/var/www/html/staging.start9labs.com
|
rsync -rzP --delete ./_build/ root@staging.start9labs.com:/var/www/html/staging.start9labs.com
|
||||||
|
|
||||||
echo "FILTER: ssh restart nginx and tor"
|
echo "FILTER: ssh restart nginx and tor"
|
||||||
ssh root@staging.start9labs.com "systemctl reload nginx && systemctl reload tor"
|
ssh root@staging.start9labs.com "systemctl reload nginx && systemctl reload tor"
|
||||||
|
|||||||
Reference in New Issue
Block a user