Skip to content

quarto-publish: make output-dir the single source of truth (forward it to quarto render) #59

@d-morrison

Description

@d-morrison

Already resolved on main — closing.

quarto-publish/action.yml no longer renders via quarto-dev/quarto-actions/render@v2. The "Render Quarto project" step is now a run: shell step that forwards the input to the CLI:

    - name: Render Quarto project
      shell: bash
      env:
        PROJECT_PATH: ${{ inputs.path }}
        OUTPUT_DIR: ${{ inputs.output-dir }}
      run: |
        set -euo pipefail
        quarto render "$PROJECT_PATH" --output-dir "$OUTPUT_DIR"

and the output-dir input doc now reads "Forwarded to quarto render --output-dir, so this input is authoritative — it overrides any output-dir set in the project's _quarto.yml." So the input is the single source of truth, exactly as proposed here.

This landed in PR #55 ("quarto-publish: forward output-dir to render…", commit 7722b8e) before this follow-up issue was filed. Nothing left to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions