ha-testing/.drone.yml
sthope d9bf9cc6e7
Some checks failed
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2021-09-02 11:30:11 +02:00

39 lines
882 B
YAML

kind: pipeline
type: docker
name: default
steps:
# - name: name: Test HA Stable
# pull: always
# image: ghcr.io/home-assistant/home-assistant:stable
# commands:
# - python -m homeassistant --config $CI_PROJECT_DIR --script check_config --info all
- name: Test HA Stable
pull: always
image: homeassistant/home-assistant:latest
commands:
# - mv mock_secrets.yaml secrets.yaml
# - cp -r . /config/
- hass -c /config --script check_config
- 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