--- kind: pipeline name: default steps: - 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: Test HA rc pull: always image: homeassistant/home-assistant:rc commands: # - mv mock_secrets.yaml secrets.yaml - cp -r . /config/ - hass -c /config --script check_config - name: Test HA dev pull: always image: homeassistant/home-assistant:dev 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 message: > {{#success build.status}} ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. 📝 Commit by {{commit.author}} on `{{commit.branch}}`: ``` {{commit.message}} ``` 🌐 {{ build.link }} {{else}} ❌ Build #{{build.number}} of `{{repo.name}}` failed. 📝 Commit by {{commit.author}} on `{{commit.branch}}`: ``` {{commit.message}} ``` 🌐 {{ build.link }} {{/success}}