website/.drone.yml

33 lines
536 B
YAML

kind: pipeline
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: egraven/zola:latest
volumes:
- name: output
path: ./public
commands:
- zola build
- name: deploy
image: drillster/drone-rsync
volumes:
- name: output
path: ./public
settings:
hosts: [ "nixaalb.org" ]
user: deploy-web
key:
from_secret: ssh_key
port: 22
target: /var/www/nixaalb.org
source: ./public
trigger:
branch:
- main