2020-09-03 08:44:27 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2020-09-03 10:52:27 +00:00
|
|
|
image: silex/emacs:27-alpine
|
2020-09-03 08:44:27 +00:00
|
|
|
commands:
|
2021-10-23 18:15:44 +00:00
|
|
|
- apk add git
|
2020-09-03 08:44:27 +00:00
|
|
|
- emacs --script export.el
|
2020-09-03 11:19:06 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
2020-09-03 08:44:27 +00:00
|
|
|
|
|
|
|
- name: deploy
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host:
|
|
|
|
from_secret: ssh_host
|
|
|
|
target:
|
|
|
|
from_secret: ssh_target
|
|
|
|
source:
|
2021-11-22 16:17:06 +00:00
|
|
|
- org/config/*
|
2020-09-03 08:44:27 +00:00
|
|
|
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
|