Skip to content

Commit

Permalink
Update w4h-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zli86605 authored Jul 2, 2024
1 parent 249e0dd commit 5c403a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/w4h-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
- name: Convert Markdown to HTML
run: |
mkdir -p html
find . -name '*.md' -print0 | while IFS= read -r -d '' file; do
find . -name '*.md' | while read -r file; do
htmlfile="html/${file%.md}.html"
pandoc "$file" -o "$htmlfile" && echo "Converted $file to $htmlfile"
done
- name: Commit HTML files
if: success() && steps.convert.outputs.html-files != ''
if: success()
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
Expand Down

0 comments on commit 5c403a2

Please sign in to comment.