27 lines
554 B
YAML
27 lines
554 B
YAML
clone:
|
|
git:
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
recursive: true
|
|
|
|
steps:
|
|
build_website:
|
|
image: git.mattcen.com/mattcen/drone-hugo
|
|
|
|
publish_website:
|
|
image: drillster/drone-rsync
|
|
settings:
|
|
hosts:
|
|
from_secret: rsync_publish_host
|
|
port:
|
|
from_secret: rsync_publish_port
|
|
user:
|
|
from_secret: rsync_publish_user
|
|
key:
|
|
from_secret: rsync_publish_key
|
|
source: public/
|
|
target: .
|
|
delete: true
|
|
#extra_hosts:
|
|
# - "host.docker.internal:host-gateway"
|