From 02fd04930d73ee27b5db1d696009289775ecf5d5 Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Tue, 19 Nov 2024 23:52:14 -0600 Subject: [PATCH] update CI config --- .woodpecker/publish-docs.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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