dotfiles/.drone.yml

40 lines
641 B
YAML
Raw Normal View History

kind: pipeline
name: default
steps:
- name: build
image: alpine
commands:
- apk update
- apk add git emacs-nox
- emacs -Q --script export.el
2020-09-03 11:19:06 +00:00
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
2020-09-03 10:42:18 +00:00
when:
branch:
- master
event:
exclude:
- pull_request