diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 29cdeac..8e56ad5 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -3,6 +3,7 @@ steps: image: ghcr.io/gohugoio/hugo:v0.159.2 commands: # - git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically) + - git config --global --add safe.directory /woodpecker/src/git.andrewnw.xyz/CyberShell/blog.cybershell.xyz - git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);' - hugo