Add '.drone.yml'
This commit is contained in:
parent
b8b9cb65af
commit
7b825975aa
30
.drone.yml
Normal file
30
.drone.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: ha-latest
|
||||||
|
image: homeassistant/home-assistant:latest
|
||||||
|
entrypoint: [""]
|
||||||
|
needs: []
|
||||||
|
|
||||||
|
- name: discord
|
||||||
|
pull: always
|
||||||
|
image: appleboy/drone-discord:1
|
||||||
|
avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
|
||||||
|
environment:
|
||||||
|
DISCORD_WEBHOOK_ID:
|
||||||
|
from_secret: discord_webhook_id
|
||||||
|
DISCORD_WEBHOOK_TOKEN:
|
||||||
|
from_secret: discord_webhook_token
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
- pull_request
|
||||||
|
- deployment
|
||||||
|
status:
|
||||||
|
- changed
|
||||||
|
- failure
|
||||||
|
- success
|
Loading…
x
Reference in New Issue
Block a user