You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quarto files can be bundled together under one directory, in their own subdirectories. Can this action handle deploying multiple quarto files at once, for example to Posit connect by providing the path to the directory of the bundle?
When attempted to provide that in the "path:" the action expected a book, manuscript or website which makes sense considering the current version of the action.
Would it be possible to have this functionality in a future version or is there already a workaround?
The workflow I tested is:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
target: connect
path: R
render: false
CONNECT_SERVER: https://***.********.***/
CONNECT_API_KEY: ${{ secrets.CONNECT_API_KEY }}
The text was updated successfully, but these errors were encountered:
Can this action handle deploying multiple quarto files at once, for example to Posit connect by providing the path to the directory of the bundle?
I am not sure what bundle really is here. This action will use quarto publish to deploy to Posit Connect and it is used to deploy a document or a quarto project (like website). You need to call it on the folder that is the Quarto project.
If quarto publish is not able to do this, then it could be an issue in Quarto. Though, if you want more control about what Connect API allows for deployment, you can try the Python or R package
As described here
https://docs.posit.co/connect/user/structuring-content/#:~:text=%23%20Local%20file%20structure%0A/report1/index.qmd%0A/report1/fig_1.png%0A/report2/index.qmd%0A/shared/project_logo.png
quarto files can be bundled together under one directory, in their own subdirectories. Can this action handle deploying multiple quarto files at once, for example to Posit connect by providing the path to the directory of the bundle?
When attempted to provide that in the "path:" the action expected a book, manuscript or website which makes sense considering the current version of the action.
Would it be possible to have this functionality in a future version or is there already a workaround?
The workflow I tested is:
The text was updated successfully, but these errors were encountered: