You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
640 B

kind: pipeline
name: default
steps:
- name: build
image: silex/emacs:alpine
commands:
- apk update && apk add git
- emacs -Q --script export.el
when:
branch:
- master
event:
exclude:
- pull_request
- name: deploy
image: appleboy/drone-scp
settings:
host:
from_secret: ssh_host
target:
from_secret: ssh_target
source:
- org/config/*
strip_components: 2
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port:
from_secret: ssh_port
when:
branch:
- master
event:
exclude:
- pull_request