add script to update
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m12s

This commit is contained in:
oiseauroch 2024-07-07 19:47:55 +02:00
parent ba528a52ab
commit eea6d617e8
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
update.log

4
update_site.sh Executable file
View File

@ -0,0 +1,4 @@
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