up deploy and remote sync

This commit is contained in:
Tykayn 2024-11-19 14:43:25 +01:00 committed by tykayn
parent 55fe6d3592
commit a00cd145a1
3 changed files with 32 additions and 20 deletions

View file

@ -11,22 +11,30 @@ racine_depot_git="/poule/encrypted/www/orgmode-to-gemini-blog"
# on copie les fichiers générés dans les dépots servis pour chaque nom de domaine
mv "$images_inbox/*" $images_destination
cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
cp $racine_depot_git/html-websites/cipherbliss_blog/index.html $racine_sites_statiques/cipherbliss.com/
cp $racine_depot_git/html-websites/cipherbliss_blog/lang_fr/ $racine_sites_statiques/cipherbliss.com -r
cp $racine_depot_git/html-websites/cipherbliss_blog/lang_en/ $racine_sites_statiques/cipherbliss.com -r
#cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
#cp $racine_depot_git/html-websites/cipherbliss_blog/index.html $racine_sites_statiques/cipherbliss.com/
#cp $racine_depot_git/html-websites/cipherbliss_blog/lang_fr/ $racine_sites_statiques/cipherbliss.com -r
#cp $racine_depot_git/html-websites/cipherbliss_blog/lang_en/ $racine_sites_statiques/cipherbliss.com -r
#
#cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
#cp $racine_depot_git/html-websites/tykayn_blog/index.html $racine_sites_statiques/tykayn.fr/
#cp $racine_depot_git/html-websites/tykayn_blog/lang_fr/ $racine_sites_statiques/tykayn.fr -r
#cp $racine_depot_git/html-websites/tykayn_blog/lang_en/ $racine_sites_statiques/tykayn.fr -r
#
#cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
#cp $racine_depot_git/html-websites/qzine_blog/index.html $racine_sites_statiques/tykayn.fr/
#cp $racine_depot_git/html-websites/qzine_blog/lang_fr/ $racine_sites_statiques/qzine.fr -r
#cp $racine_depot_git/html-websites/qzine_blog/lang_en/ $racine_sites_statiques/tykayn.fr -r
#
#cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
#cp $racine_depot_git/html-websites/dragonfeu_blog/index.html $racine_sites_statiques/dragonfeu_blog/
#cp $racine_depot_git/html-websites/dragonfeu_blog/lang_fr/ $racine_sites_statiques/dragonfeu_blog -r
#cp $racine_depot_git/html-websites/dragonfeu_blog/lang_en/ $racine_sites_statiques/dragonfeu_blog -r
cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
cp $racine_depot_git/html-websites/tykayn_blog/index.html $racine_sites_statiques/tykayn.fr/
cp $racine_depot_git/html-websites/tykayn_blog/lang_fr/ $racine_sites_statiques/tykayn.fr -r
cp $racine_depot_git/html-websites/tykayn_blog/lang_en/ $racine_sites_statiques/tykayn.fr -r
rsync -a /poule/encrypted/www/tykayn-inbox/cipherbliss_blog/* /poule/encrypted/www/cipherbliss.com/
rsync -a /poule/encrypted/www/tykayn-inbox/tykayn_blog/* /poule/encrypted/www/tykayn.fr/
rsync -a /poule/encrypted/www/tykayn-inbox/qzine_blog/* /poule/encrypted/www/qzine.fr/
cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
cp $racine_depot_git/html-websites/qzine_blog/index.html $racine_sites_statiques/tykayn.fr/
cp $racine_depot_git/html-websites/qzine_blog/lang_fr/ $racine_sites_statiques/qzine.fr -r
cp $racine_depot_git/html-websites/qzine_blog/lang_en/ $racine_sites_statiques/tykayn.fr -r
cp $racine_depot_git/templates/style_general.css $racine_sites_statiques/cipherbliss.com/
cp $racine_depot_git/html-websites/dragonfeu_blog/index.html $racine_sites_statiques/dragonfeu_blog/
cp $racine_depot_git/html-websites/dragonfeu_blog/lang_fr/ $racine_sites_statiques/dragonfeu_blog -r
cp $racine_depot_git/html-websites/dragonfeu_blog/lang_en/ $racine_sites_statiques/dragonfeu_blog -r
chown -R www-data:www-data /poule/encrypted/www/tykayn.fr
chown -R www-data:www-data /poule/encrypted/www/cipherbliss.com
chown -R www-data:www-data /poule/encrypted/www/qzine.fr