-
Notifications
You must be signed in to change notification settings - Fork 6
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
blogdown action failing #41
Comments
It seems a blogdown configuration is compulsory? Not sure how you had created the example at the time, did you use https://github.com/r-lib/actions/blob/master/examples/blogdown.yaml? |
this is the current version https://github.com/orchid00/actions_sandbox/blob/main/.github/workflows/deploy_blogdown.yml based on the link you shared. |
I know of https://github.com/jimhester/jimhester.com by @jimhester |
Thanks @maelle |
I think you can deploy to GitHub pages, you can e.g. see https://github.com/ropensci/dev_guide/blob/de0f0c5cd0d4a586da24eb176e909b5fc84e97bb/.github/workflows/master.yml#L39-L50 (that's bookdown but the idea is the same, the whole site is in a folder called |
the yaml for bookdown works, it is the blogdown yaml that fails |
yes but the link is to the part where the site is deployed to GitHub pages which was your question. In the case of your book what's problematic is that you can't use the gh-pages branch as example since you use it to deploy your book itself. 🤔 |
Yes. |
This is what I have been using on different site that uses blogdown and originally used the version we made in the book. I hadn't gotten around to updating the book to reflect the changes:
|
hi @murraycadzow thanks for the example. I have a question. If the bookdown action is publishing the bookdown through gh-pages |
Hi @orchid00, you won't be able to test the action on this repo as it stands because of the differences in how bookdown and blogdown operate. To test it (at least how I did it when writing that section of the book) was to create the new blogdown site in a new repo following the instructions in the book with the difference of using the action above, rather than the one currently written. |
hi @murraycadzow thanks, makes things clearer. |
Asking for your expertise, any idea why the blogdown action is not working?
I have edited this:
https://github.com/orchid00/actions_sandbox/blob/main/.github/workflows/deploy_blogdown.yml
based on this:
https://github.com/r-lib/actions/blob/master/examples/blogdown.yaml
Also changed the deploy step to use cecilapp v3 etc
However it is failing at blog_down::build_site https://github.com/orchid00/actions_sandbox/runs/2303087951
blogdown has recently been updated, but not sure if that is the underlying problem
https://github.com/rstudio/blogdown/blob/master/NEWS.md
@maelle maybe you have some thoughts to share?
The text was updated successfully, but these errors were encountered: