Skip to content

gh-actions documentation issues #5686

Closed
@cboettig

Description

@cboettig

Bug description

Thanks for the amazing work on quarto, it's been a fantastic resource for which we keep discovering new applications!

First, apologies if this is not actually the best repository to report issues with quarto documentation, but this is where the link "Report an Issue with this page" points on your documentation, https://quarto.org/docs/publishing/github-pages.html, so I figured I'd start here. Maybe those docs can point to a different issue tracker if that's preferred?

On that page, under publish action the docs read:

before configuring the publishing action, it’s important that you run quarto publish gh-pages locally, once. This will create the _publish.yml configuration required by the subsequent invocations of the GitHub Action. To do this, run the following from within your project:

I think this should be publish.yml without an underscore. The rest of the docs refer to it with no underscore. More importantly, I and colleagues frequently see a quarto error

ERROR: No _publish.yml file available (_publish.yml specifying a destination required for non-interactive publish)

when trying to publish with a GitHub Action. This is a confusing error, because the only mention of a _publish.yml file (with underscore) is the one above, which I am pretty sure is not what the error ERROR: No _publish.yml is referring to. It sounds like this is a top-level config file, similar to _quarto.yml, but I'm not sure because I cannot find documentation describing it. It is a bit of a weird error, because it is very explicit in saying that such a file is required for non-interactive publication and yet github repositories configured to do non-interactive publishing don't have such a file, so I am worried that the error message is both spurious and asserting a requirement that is (no longer?) a requirement? I believe this is related to quarto-dev/quarto-actions#50.

Thanks for considering!

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.
  • Please provide the output of quarto check so we know which version of quarto and its dependencies you're running.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions