dotfiles/.drone.yml
Lucien Cartier-Tilet 8b8a5a1a64
All checks were successful
continuous-integration/drone/push Build is passing
Shorten CI time
2022-06-07 19:46:43 +02:00

38 lines
608 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: silex/emacs:alpine
commands:
- 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