push操作不能像ftp那样直接把写好的代码传到服务器上使用吗
If it is on github, you can use github-page.
If you want to deploy on your own server, you need to automatically detect commit on your own server and pull.
Yes, you can use hooks on github, see this answer and this article
If it is on github, you can use github-page.
If you want to deploy on your own server, you need to automatically detect commit on your own server and pull.
Yes, you can use hooks on github, see this answer and this article