Skip to content

Commit 66d8cd8

Browse files
Copilotmayuki
andcommitted
Add step to replace <content> with <content type="html"> in feed.atom before deploy
Co-authored-by: mayuki <9012+mayuki@users.noreply.github.com>
1 parent d064fa9 commit 66d8cd8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
dotnet-version: '8.0.x'
1919
- name: dotnet run
2020
run: dotnet run --
21+
- name: Fix Atom feed content type
22+
run: sed -i 's/<content>/<content type="html">/g' ./output/feed.atom
2123
- name: Deploy to GitHub Pages
2224
uses: peaceiris/actions-gh-pages@v3
2325
with:

0 commit comments

Comments
 (0)