T
T
topuserman2021-11-01 16:00:20
git
topuserman, 2021-11-01 16:00:20

Git: are there any triggers to execute a certain script every time a deploy?

It is necessary, every time you deploy (manual deployment - git pull origin master), run an automatically defined script that will reset some kind of cache.

I understand that there is ci/cd, but it seems very difficult to get started. There were several approaches, but I still didn’t figure out how to do this ..
Perhaps there are some triggers for the git?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Antony, 2021-11-01
@topuserman

There are hooks
https://git-scm.com/book/en/v2/%D0%9D%D0%B0%D1%81%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question