Hi Olivier,

If you look at nbconvert[1] you will see that it has the potential to
execute notebook in place, without a GUI.
Either using the command line : `jupyter nbconvert --in-place
--execute <mynotebook.ipynb>` (IIRC),
or via the Python API if you need something more specific.

Triggering that on push will require you to look into git
documentation. likely a post-receive-pack hook,
if remote, or a pre/post-commit one. You also might want to look at a
clean/smudge filter to trigger things on checkout.

Hope that helps. Let us know what you ended up doing.

Cheers,
-- 
Matthias

[1] : https://github.com/jupyter/nbconvert


On Fri, Dec 23, 2016 at 10:38 AM,  <[email protected]> wrote:
> Hi,
>
> i have a notebook which fetch some data via cvs-files in a git repo and
> makes some graphical output. Now i want that this notebook is restarted &
> run after each commit in the git repo. Is there a way to do this for example
> via a webhook? Or is there an other solution?
>
> Thanks for help and merry Christmas!
> Oli
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/e4a73fb8-9b17-4330-979a-4837686bce67%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CANJQusV%3D6eH3QA0B3pasDyn2ZyA7RG0YOsQoketa1azA%3D5m6yw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to