fix missing footer class from new custom footer

This commit is contained in:
Ville Lindholm 2024-07-26 13:16:21 +03:00
parent 1dfd1bb7e9
commit 46e1ac1ed1
No known key found for this signature in database

View File

@ -61,7 +61,7 @@ jobs:
--minify \ --minify \
--baseURL "${{ steps.pages.outputs.base_url }}/" --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Remove 'powered by...' from all footers - name: Remove 'powered by...' from all footers
run: find public -type f -name '*.html' -exec perl -0777 -i -pe 's|<footer[^>]*>.*?</footer>|<footer><span>© Ville Lindholm</span></footer>|gs' {} \; run: find public -type f -name '*.html' -exec perl -0777 -i -pe 's|<footer[^>]*>.*?</footer>|<footer class="footer"><span>© Ville Lindholm</span></footer>|gs' {} \;
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3