Skip to content

Commit 35cc8fd

Browse files
update page to docs
1 parent 2039f30 commit 35cc8fd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/convertMarkDownToHtml.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626

2727
- name: Convert README.md to HTML
2828
run: |
29-
mkdir -p page
30-
python -c "import markdown, pathlib; html = markdown.markdown(pathlib.Path('README.md').read_text()); pathlib.Path('page/index.html').write_text(html)"
29+
mkdir -p docs
30+
python -c "import markdown, pathlib; html = markdown.markdown(pathlib.Path('README.md').read_text()); pathlib.Path('docs/index.html').write_text(html)"
3131
3232
- name: Commit and push index.html
3333
run: |
3434
git config --global user.name 'github-actions[bot]'
3535
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
36-
git add page/index.html
36+
git add docs/index.html
3737
git commit -m 'Auto-generate index.html from README.md' || echo 'No changes to commit'
3838
git push
File renamed without changes.

0 commit comments

Comments
 (0)