-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add working-directory
input to Quarto publish action
#114
base: main
Are you sure you want to change the base?
Conversation
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.qmd
is not the same ascd docs && quarto render index.qmd
.This PR adds a
working-directory
input to account for this difference. When used,input.path
is relative toinput.working-directory
.