2023-07-05 22:49:59 +00:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
settings:
|
|
|
|
recursive: true
|
2022-02-17 03:51:15 +00:00
|
|
|
|
2023-08-25 04:03:21 +00:00
|
|
|
steps:
|
2023-07-05 22:49:59 +00:00
|
|
|
build_website:
|
|
|
|
image: git.mattcen.com/mattcen/drone-hugo
|
2022-12-30 05:16:34 +00:00
|
|
|
|
2023-07-05 22:49:59 +00:00
|
|
|
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"
|