marzeelabs / besugo

Boilerplate for MZ version of hugo + netlifyCMS
https://besugo.marzeelabs.org
10 stars 0 forks source link

CMS Gulp tasks issues #10

Closed lmcorreia closed 7 years ago

lmcorreia commented 7 years ago

The CMS Gulp task only works once and thus, while running the default gulp task locally, if you make changes to /static/admin/config.yml, Hugo will rewrite the /public/admin/config.yml file but the correct branch won't be successfully replaced on the destination file by the CMS task.

Additionally, on Netlify, we can no longer use the output of the git command, we have to use the $HEAD env var.