You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either make the publish directory the repository for username.github.io or have a source directory.
I think that the following is preferable to both, and should be suggested as the main option (if using gh-pages) in the book:
Have the complete repo called username.github.io
Publish to a subdirectory called docs.
Add the .nojekyll file to docs.
Setup under settings->pages->Branch: main /docs
I.e. (here it says master since it's an old repo),
The text was updated successfully, but these errors were encountered:
The blogdown book states there are two ways to deploy to github pages.
blogdown/docs/03-deploy.Rmd
Line 73 in e40271a
Either make the publish directory the repository for username.github.io or have a source directory.
I think that the following is preferable to both, and should be suggested as the main option (if using gh-pages) in the book:
Have the complete repo called username.github.io
Publish to a subdirectory called
docs
.Add the .nojekyll file to
docs
.Setup under settings->pages->Branch: main /docs
I.e. (here it says master since it's an old repo),
The text was updated successfully, but these errors were encountered: