piquemouche/update_site.sh
oiseauroch 7d6902a21c
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m8s
add cd
2024-07-07 20:36:26 +02:00

6 lines
612 B
Bash
Executable File

cd /websites/piquemouche
git fetch >> update.log
git merge 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