2020-01-27 22:17:55 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: test
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
base: "/app"
|
|
|
|
path: "."
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: test
|
2023-10-26 21:53:53 +00:00
|
|
|
image: iamthefij/drone-pre-commit@sha256:6ed8dae6b0067bd2e145e36421bcfbbc68975ff7ddaa5a3f285b5bcdaf0989c8
|
2020-01-27 22:17:55 +00:00
|
|
|
commands:
|
|
|
|
- make all
|
|
|
|
|
|
|
|
- name: notify
|
|
|
|
image: drillster/drone-email
|
|
|
|
settings:
|
|
|
|
host:
|
|
|
|
from_secret: SMTP_HOST # pragma: whitelist secret
|
|
|
|
username:
|
|
|
|
from_secret: SMTP_USER # pragma: whitelist secret
|
|
|
|
password:
|
|
|
|
from_secret: SMTP_PASS # pragma: whitelist secret
|
|
|
|
from: drone@iamthefij.com
|
|
|
|
when:
|
|
|
|
status: [changed, failure]
|