Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kanade-k-1228 committed Dec 10, 2024
1 parent 8116f4c commit a1e586c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install Pandoc
run: |
sudo apt-get update
Expand All @@ -19,9 +19,13 @@ jobs:
- name: Generate RSS
run: pandoc feed.yml --template .common/template.rss >> feed.rss
- name: Convert MD to HTML
run: find . -name "*index.md" | while read i; do pandoc -f markdown -t html --template=.common/template.html --toc --no-highlight --mathjax "${i}" >> "${i%.md}.html"; done
run: |
find . -name "*index.md" | \
while read i; do \
pandoc -f markdown -t html --template=.common/template.html \
--toc --no-highlight --mathjax "${i}" >> "${i%.md}.html"; \
done
- name: Upload to GitHub Pages
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v4
with:
path: ./

0 comments on commit a1e586c

Please sign in to comment.