Add working-directory input to Quarto publish action#114
Add working-directory input to Quarto publish action#114gadenbuie wants to merge 2 commits intoquarto-dev:mainfrom
working-directory input to Quarto publish action#114Conversation
|
Did you found this problem on a specific example ? I would think this matters when used with a repo which is not a Quarto project ? |
|
I needed it for https://github.com/posit-conf-2024/level-up-shiny/tree/main where the Quarto website is hosted in That was the motivation, but it's also possible that there are other things that happen (pre- or post-processing steps?) that might need If I were in your shoes, I'd worry about confusion between |
I'll think about it in context of this action. Especially to document it correctly. I consider this If feels to me we have some holes somewhere in path considerations 🤔 |
Yes, this feels like a bug to me as well. |
Ah this is exactly what I'm getting at here. When the quarto site or project root isn't the repo root, then using |
There are cases where
quarto render docs/index.qmdis not the same ascd docs && quarto render index.qmd.This PR adds a
working-directoryinput to account for this difference. When used,input.pathis relative toinput.working-directory.