pizzawednes.day/.drone.yml

22 lines
383 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: ghcr.io/getzola/zola:v0.17.2
entrypoint: ["/bin/zola"]
command: ["build"]
- name: deploy
image: drillster/drone-rsync
settings:
hosts: ["pizzawednes.day"]
user: site
source: public/*
target: /var/site/
recursive: true
delete: true
environment:
RSYNC_KEY:
from_secret: rsync_key