File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ jobs:
26
26
27
27
- name : Convert README.md to HTML
28
28
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)"
31
31
32
32
- name : Commit and push index.html
33
33
run : |
34
34
git config --global user.name 'github-actions[bot]'
35
35
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
36
- git add page /index.html
36
+ git add docs /index.html
37
37
git commit -m 'Auto-generate index.html from README.md' || echo 'No changes to commit'
38
38
git push
File renamed without changes.
You can’t perform that action at this time.
0 commit comments