riq0h.jp/.woodpecker/.woodpecker.yml

25 lines
435 B
YAML
Raw Normal View History

2023-08-21 10:07:01 +09:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
steps:
build:
image: klakegg/hugo:ext-alpine
commands:
- hugo -D
deploy:
2023-08-21 19:36:41 +09:00
image: drillster/drone-rsync
secrets: [HOTS, SSH, PORT]
2023-08-21 15:21:04 +09:00
settings:
2023-08-21 19:36:41 +09:00
hosts:
2023-08-21 15:50:13 +09:00
from_secret: HOST
2023-08-21 19:36:41 +09:00
user: riq0h
2023-08-21 15:32:54 +09:00
key:
from_secret: SSH
2023-08-21 19:36:41 +09:00
port:
2023-08-21 15:50:13 +09:00
from_secret: PORT
2023-08-21 19:36:41 +09:00
source: public
target: /var/www/html