Skip to content

run post-render script only on project render #1612

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Apr 3, 2025

This will prevent the script to run on incremental render and preview

@cderv cderv requested a review from cwickham April 3, 2025 11:08
Copy link
Contributor

github-actions bot commented Apr 3, 2025

🚀 Deployed on https://deploy-preview-1612.quarto.org

@github-actions github-actions bot temporarily deployed to pull request April 3, 2025 11:14 Inactive
@cderv
Copy link
Collaborator Author

cderv commented Apr 3, 2025

@cwickham This is assuming we want to render the post-render script only for quarto render.

If we want also for preview or incremental render, then current behavior is ok.

Copy link
Collaborator

@cwickham cwickham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cderv Yes, this seems like a good idea. We only really need to run that script on CI.

@cderv cderv merged commit 350842b into main Apr 4, 2025
4 checks passed
@cderv cderv deleted the post-render/run-only-on-render branch April 4, 2025 09:29
Copy link
Contributor

github-actions bot commented Apr 4, 2025

Successfully created backport PR for prerelease:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants