From 01efeab13f7dfdcd63f7b6c46e50020ad1e3780a Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Wed, 20 Nov 2024 00:21:50 -0600 Subject: [PATCH] update CI config --- .woodpecker/publish-docs.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.woodpecker/publish-docs.yml b/.woodpecker/publish-docs.yml index 603c2a3..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,7 +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