orchid00 / actions_sandbox

https://ropenscilabs.github.io/actions_sandbox/
Other
17 stars 6 forks source link

blogdown deployment Action when using Netlify instead of gh-pages #34

Open jimmyday12 opened 4 years ago

jimmyday12 commented 4 years ago

Hi - I was trying to work out how to setup a github action to deploy my blogdown site when I found your chapter on this in the Github Actions with R book.

Specifically - the websites using blogdown section.

I'm wondering if you know how to setup this workflow so that it works with Netlify (described as the preferred method in the Creating Websites with R Markdown book) rather than github pages?

Locally - I can run the function blogdown::serve_site(TRUE) and then commit the changes and Netlify will rebuild my site. Given that, I'm thinking it should be relatively straightforward but I'm relatively new to the Github Actions syntax so haven't worked out how to adapt your actions above.

Any nudges in the right direction would be great!

github-actions[bot] commented 4 years ago

Hi ! there!! thanks for your contribution!, you are awesome!

github-actions[bot] commented 4 years ago

Thanks for your issue! we are going to work on that

murraycadzow commented 3 years ago

Hi @jimmyday12, I'm not familiar with deploying to netlify but this looks like it might be what you're after https://medium.com/@MarekPukaj/build-with-github-actions-host-on-netlify-ebf5fa505616