--- 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: - cp -r . /config/ - hass -c /config --script check_config - name: Test HA dev pull: always image: homeassistant/home-assistant:dev commands: - cp -r . /config/ - hass -c /config --script check_config - rm secrets.yaml - name: ssh image: appleboy/drone-ssh settings: host: from_secret: ssh_host username: from_secret: ssh_username password: from_secret: ssh_password port: 22 script: - mkdir -p /home/sthope/testingdocker/iamhere - name: scp image: appleboy/drone-scp settings: host: from_secret: ssh_host user: from_secret: ssh_username password: from_secret: ssh_password port: 22 command_timeout: 2m target: /home/sthope/testingdocker/iamhere source: - ./* - name: discord pull: always image: appleboy/drone-discord environment: DISCORD_WEBHOOK_ID: from_secret: discord_webhook_id DISCORD_WEBHOOK_TOKEN: from_secret: discord_webhook_token settings: 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}} # when: # event: # - push # - tag # - pull_request # - deployment # status: # - changed # - failure # - success