Deploy a project using Git push

后端 未结 19 1266
囚心锁ツ
囚心锁ツ 2020-11-22 07:06

Is it possible to deploy a website using git push? I have a hunch it has something to do with using git hooks to perform a git reset --hard on the

19条回答
  •  感动是毒
    2020-11-22 07:52

    Giddyup are language-agnostic just-add-water git hooks to automate deployment via git push. It also allows you to have custom start/stop hooks for restarting web server, warming up cache etc.

    https://github.com/mpalmer/giddyup

    Check out examples.

提交回复
热议问题