Emelie Graven
c91d4d3d35
All checks were successful
continuous-integration/drone/push Build is passing
33 lines
536 B
YAML
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
|