hyteck-blog/.woodpecker.yml
moanos 06426db458
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(ci): Use when condition
2024-04-17 07:16:39 +02:00

26 lines
420 B
YAML

---
steps:
build:
image: klakegg/hugo
commands:
- hugo
when:
- event: push
- event: manual
deploy:
image: appleboy/drone-scp
settings:
strip_components: 1
host:
- reinmuth.uberspace.de
username: moanos
target: /home/moanos/html/
source: public/
key:
from_secret: ssh_key
when:
- event: push
- event: manual