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, 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:

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.