hyteck-blog/.woodpecker.yml

26 lines
420 B
YAML
Raw Permalink Normal View History

2023-01-24 16:02:56 +00:00
---
2024-04-16 20:04:47 +00:00
steps:
2023-01-24 15:36:49 +00:00
build:
2023-01-24 16:13:42 +00:00
image: klakegg/hugo
2023-01-24 16:02:56 +00:00
commands:
2023-01-24 17:49:44 +00:00
- hugo
2024-04-17 05:16:39 +00:00
when:
- event: push
- event: manual
2023-01-24 15:36:49 +00:00
deploy:
2023-01-24 16:18:58 +00:00
image: appleboy/drone-scp
2023-01-24 15:36:49 +00:00
settings:
2023-01-24 17:52:48 +00:00
strip_components: 1
2023-01-24 15:36:49 +00:00
host:
- reinmuth.uberspace.de
username: moanos
2023-01-24 17:58:42 +00:00
target: /home/moanos/html/
2023-01-24 17:52:48 +00:00
source: public/
2023-01-24 15:36:49 +00:00
key:
from_secret: ssh_key
2024-04-17 05:16:39 +00:00
when:
- event: push
- event: manual