piquemouche/update_site.sh

9 lines
677 B
Bash
Raw Permalink Normal View History

2024-07-07 20:46:12 +02:00
#!/bin/ash
2024-07-07 20:36:26 +02:00
cd /websites/piquemouche
2024-07-07 20:51:41 +02:00
date >> update.log
2024-07-07 19:47:55 +02:00
git fetch >> update.log
2024-07-09 17:52:45 +02:00
git restore . >> update.log
git merge origin/master >> update.log
2024-07-07 19:47:55 +02:00
sed -i 's#class="align-left">www.piquemouche.fr<br>#><a href="https://piquemouche.fr">piquemouche.fr</a>#g' *.html >> update.log
echo '.footer__copyright ul{margin-left:2rem}.footer__copyright{text-transform:none!important;display:flex;flex-direction:row;justify-content:space-around}.footer__copyright>p{display:none}.footer__copyright ul>li{list-style:none}.footer__copyright ul>li:first-child{font-size:1.5em;font-weight:700}.footer__copyright{margin-left:10%;margin-right:10%}body{background: #FFF8D6;}' >> assets/css/style.css