Test RSS diff in CI

This commit is contained in:
David Eisinger
2024-12-09 04:11:41 -05:00
parent 3e9126c646
commit 7f7bb5f6ce

View File

@@ -24,6 +24,11 @@ tasks:
echo 'cd davideisinger.com' >> ~/.buildenv echo 'cd davideisinger.com' >> ~/.buildenv
- spelling: | - spelling: |
npx cspell "content/**/*.md" npx cspell "content/**/*.md"
- rss: |
curl -s https://raw.githubusercontent.com/gohugoio/hugo/refs/tags/v$HUGO_VERSION/tpl/tplimpl/embedded/templates/_default/rss.xml \
| diff - ./themes/v2/layouts/_default/rss.xml \
| wc -l \
| grep 7
- dither: | - dither: |
cd bin/dither cd bin/dither
sudo bundle install sudo bundle install