dotfiles/.drone.yml
Lucien Cartier-Tilet a04de69b10
All checks were successful
continuous-integration/drone/push Build is passing
[Export, Drone] Update export.el and .drone.yml
export.el:
Now export all org files in specified directories
Code a bit cleaner

.drone.yml:
Send all the content of org/config to the remote server
2021-11-22 17:57:14 +01:00

39 lines
626 B
YAML

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