25 lines
458 B
YAML
25 lines
458 B
YAML
clone:
|
|
git:
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
recursive: true
|
|
|
|
steps:
|
|
build:
|
|
image: klakegg/hugo:ext-alpine
|
|
commands:
|
|
- hugo
|
|
deploy:
|
|
image: drillster/drone-rsync
|
|
secrets: [USER, HOST, SSH, PORT]
|
|
settings:
|
|
hosts:
|
|
from_secret: HOST
|
|
user:
|
|
from_secret: USER
|
|
key:
|
|
from_secret: SSH
|
|
port:
|
|
from_secret: PORT
|
|
source: public
|
|
target: /var/www/html
|