]> git.parisson.com Git - telecaster-server.git/commitdiff
add prob import
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Tue, 23 Apr 2024 16:16:45 +0000 (18:16 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Tue, 23 Apr 2024 16:16:45 +0000 (18:16 +0200)
bin/publishing/telecaster_master-pro.sh

index 9017d918b4c97259532f6d5a41be0cb7da945d6e..a945bf12e635dc8e716122239f1927ce70da4f81 100755 (executable)
@@ -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
+