website/.drone.yml
Emelie Graven c91d4d3d35
All checks were successful
continuous-integration/drone/push Build is passing
Fix path
2021-11-22 15:43:07 +01:00

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