quarto-dev / quarto-actions

GNU General Public License v2.0
228 stars 53 forks source link

Publish action: ERROR: The specified path (.) is not a website, manuscript or book project so cannot be published. #113

Open psobolewskiPhD opened 2 months ago

psobolewskiPhD commented 2 months ago

I have a pretty simple quarto->revealjs repo: https://github.com/TheJacksonLaboratory/intro_qupath_workshop I'm using a vanilla GitHub action (checkout, quarto/setup, quarto/publish): https://github.com/TheJacksonLaboratory/intro_qupath_workshop/blob/main/.github/workflows/quarto_publish.yml

A change in the past few months has resulted in the Publish action failing: https://github.com/TheJacksonLaboratory/intro_qupath_workshop/actions/runs/10581001442/job/29317260553

It appears that the default path used by the publish action is no longer OK for quarto? I assume due to a quarto version update? https://github.com/quarto-dev/quarto-actions/blob/6cb292a31eb3968e78acc56a508c3cc20500376a/publish/action.yml#L31-L34

psobolewskiPhD commented 2 months ago

As a workaround, I can specify index.qmd as per: https://stackoverflow.com/questions/78727508/quarto-and-github-actions-error-the-specified-path-is-not-a-website

psobolewskiPhD commented 2 months ago

Could it be related to not having a _quarto.yml and instead everything in the single index.qmd header: https://github.com/TheJacksonLaboratory/intro_qupath_workshop/blob/15bf643c4efc9927151df4b934ad66f9bdd7bd03/index.qmd#L1C1-L15C4 It used to work with quarto <1.5