From d7e0fa9a1dc15b6272f08a3893c77013f841da21 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 23 Apr 2024 18:16:45 +0200 Subject: [PATCH] add prob import --- bin/publishing/telecaster_master-pro.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/publishing/telecaster_master-pro.sh b/bin/publishing/telecaster_master-pro.sh index 9017d91..a945bf1 100755 --- a/bin/publishing/telecaster_master-pro.sh +++ b/bin/publishing/telecaster_master-pro.sh @@ -10,6 +10,8 @@ script_dir="/home/telecaster/kdenlive/scripts/" server="malcom.parisson.com" tmp_dir="/tmp/" mastering_log="/home/telecaster/log/mastering-pro.log" +app_server=malcom.parisson.com +app_path_staging=/srv/prob-docker-staging for y in `seq $(($year)) $(($year+1))`; do @@ -28,4 +30,8 @@ for y in `seq $(($year)) $(($year+1))`; do #ssh $server chmod -R 664 $server_media_dir #ssh $server chmod -R +rX $server_media_dir + + ssh $app_server "docker compose --env-file /srv/$app_path_staging/.env exec -T elearning /srv/bin/dev/local/import_media.sh" + done + -- 2.39.5