Github Actions doesn't recognise rendered HTML file

Hiya folks,

I want to render an index.Rmd file into index.html using GitHub Actions. I've got it to render, but git doesn't recognise the file, despite it definitely being rendered, I get

error: pathspec 'index.html' did not match any file(s) known to git

However, https://github.com/numbats/resources/runs/1060155714?check_suite_focus=true#step:6:24 shows that the file exists.

I was wondering if folks might have an idea of how I can correct this?

I have resolved this! Turns out I needed to git add the file before committing!
Change in this commit: https://github.com/numbats/resources/commit/68002e069db869ad4296d0a50da51ff3f2062c3a

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.