Open cderv opened 1 year ago
FYI:
@cderv To me it's not a bug, but an enhancement as everything currently works as intended and "by design".
The line Publish site to undefined using gh-pages
is pretty ugly, though!
Yes I agree with you @cscheid. This is initially why I consider this a bug. I thing it should be a better message and possibly error if another remote than origin is not supported.
To note, this was actually a duplicate of:
Related: in the documentation there is no mention of this requirement, so if for instance the remote is named upstream
(also fairly common) then the instructions given at https://quarto.org/docs/publishing/github-pages.html#publish-action will fail, rather inscruitibly.
@petrelharp We are aware that the current documentation for publishing to GitHub pages is outdated, see:
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/5993