https://www.orchest.io/ logo
Title
l

Lex Avstreikh

10/13/2022, 3:06 PM
Is there a way to commit/push to GitHub as a job ?
meaning; short of adding a python script using https://gitpython.readthedocs.io/en/stable/
j

juanlu

10/13/2022, 4:01 PM
hi @Lex Avstreikh! do you mean modifying the project files themselves and committing & pushing the result on schedule? or just operating with a git repository located somewhere else?
l

Lex Avstreikh

10/13/2022, 4:01 PM
Exactly: the project files themselves
y

Yannick

10/13/2022, 7:09 PM
Although not ideal, you could use the same approach as explained in https://docs.orchest.io/en/stable/fundamentals/projects.html#using-git-inside-orchest-projects but instead configure it in an Environment. That way you can use git commands inside your Pipeline Steps. Would that work for you? Side note, improving git usage within Orchest is on our Roadmap! (GH issue: https://github.com/orchest/orchest/issues/483. @Nick Post has already set up an initial design 🙌.)
l

Lex Avstreikh

10/14/2022, 7:31 AM
ok let me spend sometime exploring all that this am thanks 🙂
y

Yannick

10/14/2022, 8:11 AM
Sure thing! Let me know in case that doesn't work for you