Skip to content

Commit

Permalink
emit Quarto output to stdout as well
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Sep 20, 2024
1 parent 053a721 commit 7f28766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/deploy_with_preview.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ elseif build_type == :preview
subfolder = "previews/PR$(something(pr_number, 0))"
end

quarto_rendered = success(`quarto render`)
quarto_rendered = success(pipeline(`quarto render`; stdout=stdout, stderr=stderr))

println("$(marker(all_ok)) All environment variables are set correctly.")
println("$(marker(quarto_rendered)) Quarto rendered successfully.")
Expand Down Expand Up @@ -181,7 +181,7 @@ end
# The upstream URL to which we push new content authenticated with token
upstream = authenticated_repo_url()
try
cd(git_commands, temp)
cd(git_commands, mktempdir())
# post_status(deploy_config; repo=repo, type="success", subfolder=subfolder)
catch e
@error "Failed to push:" exception=(e, catch_backtrace())
Expand Down

0 comments on commit 7f28766

Please sign in to comment.