diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 9eb6b04..fff0943 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -2,7 +2,8 @@ steps: clone: image: hugomods/hugo:exts commands: - - git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);' + - git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically) + # - git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);' - hugo deploy: