website/.drone.yml

30 lines
521 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: [ "graven.dev" ]
user: deploy
key:
from_secret: ssh_key
port: 22
target: /var/www/graven.dev/public/aalnix-test
source: ./public