fix(ci): Use when condition
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
21dd908466
commit
06426db458
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user