Skip to content

gary34/nginx-hexo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx-Hexo

Nginx 做前端代理,使用node server监听Github的webhook。只要Github有push便会拉取最新代码并生成hexo页面。

如何使用


docker run --name hexo \
-v /tmp/hexo:/app/hexo \
-p 80:80 \
-e HOST=#{Your domain} \
-e GITREPO=#{Your github repo} \
-d nginx-hexo

docker run --name hexo
-v /tmp/hexo:/app/hexo
-v /tmp/hexo-logs://var/log/nginx
-p 80:80
-e HOST=iyomi-l.me
-e GITREPO=https://github.com/gary34/mgary.cc.git
-d nginx-hexo

About

自动更新hexo页面的镜像

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published