How can I output Python code results (both figures and stdout) that ran locally to remote without re-rendering? #725
Closed
e-alizadeh
announced in
Q&A
Replies: 1 comment
-
I was able to achieve that by installing
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A bit of context, I'm using a quarto website and a quarto blog post that is published via Netlify and GitHub Actions.
I'm writing a blog post for which I had to generate a conda environment. This environment is NOT suitable for other posts. So, ideally my goal is to generate all figures and stdouts locally, but when pushed, the remote blog (Netlify) should just use the content under
_freeze
directory. That was my understanding. But this doesn't seem to work.So, I have set freeze to true in my _quarto.yml file (initially it was auto, but thought of forcing it to true here).
In my blog frontmatter, I had the following and I tried different options here.
When I had jupyter enabled and set
eval: true
this would obviously not work on GitHub actions since it needs to create a conda environment. This is what I don't want since it would be complicated to create an environment per each post!I tried commenting out everything but it did work locally, but not on remote.
Any suggestion or example here?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions