update CI config
All checks were successful
ci/woodpecker/push/publish-docs Pipeline was successful

This commit is contained in:
Andrew Woodlee 2024-11-19 23:52:14 -06:00
parent 10b0abe707
commit 02fd04930d

View File

@ -5,6 +5,10 @@ steps:
- git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);' - git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);'
- cd docs - cd docs
- hugo - hugo
when:
- event: push
branch: master
path: "docs/*"
deploy: deploy:
image: codingkoopa/git-rsync-openssh image: codingkoopa/git-rsync-openssh
@ -23,8 +27,7 @@ steps:
- rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go - rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go
secrets: [ ssh_host_key, ssh_deploy_key, ssh_passphrase ] secrets: [ ssh_host_key, ssh_deploy_key, ssh_passphrase ]
when:
when: - event: push
- event: push branch: master
branch: master path: "docs/*"
path: "docs/*"