dotfiles/.drone.yml
Lucien Cartier-Tilet fd5019335d
All checks were successful
continuous-integration/drone/push Build is passing
[Misc] Fix drone CI
2021-10-23 21:05:17 +02:00

40 lines
662 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/LICENSE.md
- org/config/*.html
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