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:
|
2023-08-26 06:59:34 +09:00
|
|
|
- hugo
|
2023-08-21 10:07:01 +09:00
|
|
|
deploy:
|
2023-11-27 20:18:53 +09:00
|
|
|
image: drillster/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
|