Skip to content

Commit

Permalink
Update markdown-to-html.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlee-06 authored Dec 16, 2024
1 parent a49e75b commit 960c8d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/markdown-to-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
sudo apt-get install -y pandoc
- name: Convert README.md to HTML
run: |
pandoc docs/aoa.md -o public/index.html
pandoc docs/aoa.md -o docs/index.html
- name: Commit and push changes
run: |
git config --local user.name "許景企鵝"
git config --local user.email "penguin-joyce@ntut.club"
git add public/index.html
git commit -m "景夾已從 docs/aoa.md 構建新的 public/index.html" || echo "景夾表示沒有改變"
git add docs/index.html
git commit -m "景夾已從 /docs/aoa.md 構建新的 /docs/index.html" || echo "景夾表示沒有改變"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 960c8d0

Please sign in to comment.