diff --git a/.woodpecker/publish-docs.yml b/.woodpecker/publish-docs.yml index 6fbf4f8..1a8af94 100644 --- a/.woodpecker/publish-docs.yml +++ b/.woodpecker/publish-docs.yml @@ -5,6 +5,10 @@ steps: - git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);' - cd docs - hugo + when: + - event: push + branch: master + path: "docs/*" deploy: image: codingkoopa/git-rsync-openssh @@ -23,8 +27,7 @@ steps: - rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go secrets: [ ssh_host_key, ssh_deploy_key, ssh_passphrase ] - -when: - - event: push - branch: master - path: "docs/*" \ No newline at end of file + when: + - event: push + branch: master + path: "docs/*" \ No newline at end of file