r/github•
arkaze

[Question] Triggering a script every time any code is pushed


ANSWERED: Github Actions


Sorry, this is very elementary.

I want to have a certain piece of code run whenever anything is pushed onto the repo.

Like forwarding the changes to another repo that I keep in sync, or deploying the new state of the repo onto a web server, and whatnot. Or any kind of automated action really. Heck, maybe I'll add a "[tiny]" tag to every commit comment that only changes N lines of code where N < 15. Just, whatever, really.

I don't need a thorough explanation. I just need the keyword so I can read and learn. I'm sure this is a thing. What is it called? Actions? Hooks?

Sorry I googled and got a bunch of unrelated and complicated schtuff, and I'm a bit of an idiot.

Thanks in advance.

Posted Jan 7, 2020, 3:37 PM UTC · edited

12
RedlineTriad•

Github Actions; its a tab next to code, issues, and pull requests.

1
arkazeOP•

Thanks.

2