Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a swap to something that can build via GH actions? #2

Open
jodeleeuw opened this issue Oct 8, 2021 · 3 comments
Open

Consider a swap to something that can build via GH actions? #2

jodeleeuw opened this issue Oct 8, 2021 · 3 comments

Comments

@jodeleeuw
Copy link
Member

jodeleeuw commented Oct 8, 2021

While I ❤️ R and {bookdown} I think it might be worth moving to a template + compiler that can just run directly in GH actions if many folks are going to be working on this project.

I've used Hugo for the ManyClasses website and it is directly editable on GitHub via markdown.

Open to other possibilities too.

@jodeleeuw
Copy link
Member Author

jodeleeuw commented Oct 8, 2021

Hugo themes that would work:

@becky-gilbert
Copy link
Contributor

I also ❤️ R and bookdown but happy to switch if you want the GH editing & compiling features.

Hugo does look good. It says it supports different output formats but I couldn't find which ones exactly. One thing I like about bookdown is the ability to generate PDF and e-book formats as well as HTML.

@jodeleeuw
Copy link
Member Author

I was able to setup a GH action that will run the bookdown compile routine and publish to GH pages. The only change this required was using renv for managing libraries in the project.

So I think we now have a good setup, where we can test locally in R and the deployment will be automatic on any pushes to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants