Git-based website deployment workflow

前端 未结 2 713
刺人心
刺人心 2021-02-09 04:33

On my server, I have two users, www-data (which is used by nginx) and git. The git user owns a repository that contains my website\'s code

2条回答
  •  梦如初夏
    2021-02-09 04:44

    Remove the repository owned by www-data and follow the solution on this webpage for setting up a post-receive hook in the repository owned by git.

提交回复
热议问题