riq0h.jp/.woodpecker/.woodpecker.yml

26 lines
456 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
2023-08-21 10:07:01 +09:00
deploy:
2023-11-27 20:08:09 +09:00
image: plugins/drone-rsync
2023-11-27 20:16:40 +09:00
secrets: [USER, HOST, 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-23 19:53:31 +09:00
user:
from_secret: USER
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