Deploy a project using Git push

后端 未结 19 1267
囚心锁ツ
囚心锁ツ 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条回答
  •  猫巷女王i
    2020-11-22 07:42

    As complementary answer I would like to offer an alternative. I'm using git-ftp and it works fine.

    https://github.com/git-ftp/git-ftp

    Easy to use, only type:

    git ftp push
    

    and git will automatically upload project files.

    Regards

提交回复
热议问题