1
0
Fork 0
new.mdenis.org/.drone.yml

29 lines
516 B
YAML

kind: pipeline
type: docker
name: default
trigger:
branch:
- master
event:
- push
- custom
steps:
- name: deploy
image: mdenis/php-ssh:latest
environment:
SSH_KEY:
from_secret: ssh_key
commands:
- SSH_KEY="$${SSH_KEY}" sh deploy.sh
- name: notify
image: drillster/drone-email
environment:
PLUGIN_FROM: "git@medvid.cc"
PLUGIN_HOST: "mail.medvid.cc"
PLUGIN_USERNAME: "git@medvid.cc"
PLUGIN_PASSWORD:
from_secret: email_password