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
)
精彩评论