开发者

how can I set up a website to mirror whatever is pushed to git?

how can I set up a domain to mirror the files hosted on a git repository (github.com/nospampleasemam/dylanstestserver and dylanstestserver.com). The repository is of a website, so I want to host the files stored in the reposit开发者_开发问答ory, not just mirror the files for download.

thanks!


From that web server, you can set a cron job to "pull" frequently.


You can use a hook to checkout the repository at the server side.

(there is a typo on the linked page.... it is $REF, not $RE)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜