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:
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.
You can’t perform that action at this time.
0 commit comments