EmilHvitfeldt / blog

hvitfeldt's blog
https://www.hvitfeldt.me
0 stars 2 forks source link

blog/bookdown-netlify-github-actions/ #12

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Deploy your bookdown project to Netlify with Github Actions

My R adventures.

https://www.hvitfeldt.me/blog/bookdown-netlify-github-actions/

andrewmaclachlan commented 4 years ago

Thanks for the tutorial. I'm getting a build command error from netfliy: No build command found, continuing to publishing any ideas on how to fix it?

mpaulacaldas commented 4 years ago

This was so helpful, thank you for writing it up! In case it is useful to anyone, the only hiccup I had at one point was due to a new line at the end of my API key, which produced this very uninformative error:

 ›   Error: Bearer 
 ›   ***
 ›     is not a legal HTTP header value
higgi13425 commented 4 years ago

Great tutorial! Thanks! There appears to be one breaking change in usethis since you wrote this post. It appears that in the "Create Github workflow" step, you first have to run: usethis::use_github_actions(), which then allows you to run the specific action, usethis::use_github_action("bookdown.yaml")