Sign inSign up

wangkexiong/hexo

By wangkexiong

•Updated about 3 years ago

Image
0

310

wangkexiong/hexo repository overview

⁠Personal blog with hexo⁠

⁠Use gulp task management system

  • work flow: generate/compact/deploy
  • sensitive configurationn can be got from environment variables
    Environment variablesComments
    HEXO_GITHUB_EMAILuser email for commiting the site files
    HEXO_GITHUB_TOKENtoken value to authenticate with the repo
    NEXT_GOOGLE_SITECODEgoogle site verification
    NEXT_BAIDU_SITECODEbaidu site verification

⁠Build Docker image for last well working snapshot

$ docker run -i -t --rm -v $PWD:/working --env-file ../.env wangkexiong/hexo:v20201227
$ # Copy back the generated public folder from running container
$ docker run -i -t --rm -v $PWD:/working --env-file ../.env wangkexiong/hexo:v20201227 -c

Tag summary

Content type

Image

Digest

sha256:9d5bb9c43…

Size

147.1 MB

Last updated

about 3 years ago

docker pull wangkexiong/hexo