#!/bin/bash # script à lancer sur le serveur hébergeant les sites statiques # -------------------------------------------------------------- # copier les assets html après génération avec converters.sh # sites statiques html # cp /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/tykayn_blog/* /poule/encrypted/www/tykayn.fr/ -r # cp /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/cipherbliss_blog/* /poule/encrypted/www/cipherbliss.com/ -r # cp /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/qzine_blog/* /poule/encrypted/www/qzine.fr/ -r # cp /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/helia_blog/* /poule/encrypted/www/helia.tykayn.fr/wordpress/ -r # assets copiés avec le script de déploiement # je mets tous les nouveaux assets gérés dans pictures_resize.py vers le dossier d'hébergement des médias de tykayn.fr/wp-content/uploads/i/ mv /poule/encrypted/www/tykayn-inbox/blogs-output-pictures/* /poule/encrypted/www/tykayn.fr/wp-content/uploads/i/ cd /poule/encrypted/www/orgmode-to-gemini-blog/ git reset --hard git pull bash sass_styles.sh bash /poule/encrypted/www/orgmode-to-gemini-blog/converters.sh tykayn_blog rsync -a /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/tykayn_blog/* /poule/encrypted/www/tykayn.fr bash /poule/encrypted/www/orgmode-to-gemini-blog/converters.sh cipherbliss_blog rsync -a /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/cipherbliss_blog/* /poule/encrypted/www/cipherbliss.com bash /poule/encrypted/www/orgmode-to-gemini-blog/converters.sh qzine_blog rsync -a /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/qzine_blog/* /poule/encrypted/www/qzine.fr bash /poule/encrypted/www/orgmode-to-gemini-blog/converters.sh helia_blog rsync -a /poule/encrypted/www/orgmode-to-gemini-blog/html-websites/helia_blog/* /poule/encrypted/www/helia.tykayn.fr/wordpress # sites capsules gemini cp -r /poule/encrypted/www/orgmode-to-gemini-blog/gemini-capsules/cipherbliss_blog/* /poule/encrypted/gemlog/cipherbliss/