fix(ci): Use when condition
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
moanos [he/him] 2024-04-17 07:16:39 +02:00
parent 21dd908466
commit 06426db458

View File

@ -5,6 +5,9 @@ steps:
image: klakegg/hugo image: klakegg/hugo
commands: commands:
- hugo - hugo
when:
- event: push
- event: manual
deploy: deploy:
image: appleboy/drone-scp image: appleboy/drone-scp
@ -17,6 +20,6 @@ steps:
source: public/ source: public/
key: key:
from_secret: ssh_key from_secret: ssh_key
when: when:
- event: push - event: push
- event: manual - event: manual