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
commands:
- hugo
when:
- event: push
- event: manual
deploy:
image: appleboy/drone-scp
@ -17,6 +20,6 @@ steps:
source: public/
key:
from_secret: ssh_key
when:
- event: push
- event: manual
when:
- event: push
- event: manual