piquemouche/update_site.sh
oiseauroch 76800f5a88
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m13s
fix wrong merge
2024-07-09 17:52:45 +02:00

9 lines
677 B
Bash
Executable File

#!/bin/ash
cd /websites/piquemouche
date >> update.log
git fetch >> update.log
git restore . >> update.log
git merge origin/master >> update.log
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