Skip to content

Instantly share code, notes, and snippets.

@bjhartin
Created July 30, 2020 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjhartin/f053690af5bbfe5fac0ce1186f3692d0 to your computer and use it in GitHub Desktop.
Save bjhartin/f053690af5bbfe5fac0ce1186f3692d0 to your computer and use it in GitHub Desktop.
Drone problem
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: mozilla/sbt:latest
commands:
- sbt clean 'release with-defaults'
when:
event:
- push
- name: notify
image: mozilla/sbt:latest
when:
status: [ changed, failure ]
commands:
- echo "Hello World!"
depends_on:
- build
trigger:
branch:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment