Closed matheusrocha89 closed 7 years ago
This is a problem with hugo
on linux
. Need to remove the git submodule on themes. If you install a theme using git clone
you need to remove the .git/
folder from this theme.
Another possible solution for your problem here would have been to update your submodules before running hugo. Git doesn't check out submodules unless you tell it to. One way to do this would be to add the following lines to your wercker.yml file before the hugo part.
- install-packages:
packages: git ssh-client
- add-to-known_hosts:
hostname: github.com
type: rsa
- script:
name: initialize and update git submodules
code: |
git submodule init
git submodule update --remote --recursive
Didn't try this approach yet @ArjenSchwarz I will see if it works on wercker
.
Try to use it to deploy to digital ocean but the build works
local
but on wercker gives this message: