开发者

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

开发者 https://www.devze.com 2023-01-22 07:33 出处:网络
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 f

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

精彩评论

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