add gather data

This commit is contained in:
Tykayn 2024-11-20 00:24:09 +01:00 committed by tykayn
parent baac2fd2f1
commit 87d27dc8a2
5 changed files with 131 additions and 66 deletions

View file

@ -6,7 +6,7 @@ racine_sites_statiques="/poule/encrypted/www/"
images_inbox="/poule/encrypted/www/tykayn-inbox/blogs-output-pictures"
images_destination="/poule/encrypted/www/tykayn.fr/wp-content/uploads/i/"
# on part du principe que ce dépot est cloné sur le serveur pour simplifier la mise à jour
racine_depot_git="/poule/encrypted/www/orgmode-to-gemini-blog"
racine_depot_git="/home/poule/encrypted/stockage-syncable/www/development/html/orgmode-to-gemini-blog"
# on copie les fichiers générés dans les dépots servis pour chaque nom de domaine
@ -31,10 +31,10 @@ mv "$images_inbox/*" $images_destination
#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
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/
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
#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/
#
#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