Implement creator studio and upload updates
This commit is contained in:
24
sync.sh
24
sync.sh
@@ -1,24 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
localFolder='/mnt/d/Sites/Skinbase26/'
|
||||
remoteFolder='/opt/www/virtual/SkinbaseNova/'
|
||||
remoteServer='klevze@nastja.klevze.si'
|
||||
script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
rsync -avz \
|
||||
--chmod=D755,F644 \
|
||||
--exclude ".phpintel/" \
|
||||
--exclude "bootstrap/cache/" \
|
||||
--exclude ".env" \
|
||||
--exclude "public/hot" \
|
||||
--exclude "node_modules" \
|
||||
--exclude "public/files/" \
|
||||
--exclude "resources/lang/" \
|
||||
--exclude "storage/" \
|
||||
--exclude ".git/" \
|
||||
--exclude ".cursor/" \
|
||||
--exclude ".venv/" \
|
||||
--exclude "/oldSite" \
|
||||
--exclude "/vendor" \
|
||||
-e ssh \
|
||||
$localFolder \
|
||||
$remoteServer:$remoteFolder/
|
||||
exec "$script_dir/scripts/deploy-production.sh" "$@"
|
||||
|
||||
Reference in New Issue
Block a user