website/.drone.yml

33 lines
536 B
YAML
Raw Normal View History

2021-11-15 19:46:47 +00:00
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
2021-11-15 19:46:47 +00:00
key:
from_secret: ssh_key
port: 22
2021-11-22 14:43:07 +00:00
target: /var/www/nixaalb.org
2021-11-15 19:46:47 +00:00
source: ./public
2021-11-15 20:02:18 +00:00
trigger:
branch:
- main