chore(deps): update actions/checkout action to v4.2.0 #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yamllint disable rule:line-length | |
name: Deploy zigbee2mqtt | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
paths: | |
- roles/zigbee2mqtt/** | |
- .github/workflows/zigbee2mqtt.yaml | |
pull_request: | |
paths: | |
- roles/zigbee2mqtt/** | |
- .github/workflows/zigbee2mqtt.yaml | |
jobs: | |
zigbee2mqtt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/setup-ansible | |
- run: | | |
sed -i '/devices/I,+1 d' roles/zigbee2mqtt/files/compose.yaml | |
sed -i '/platform/d' roles/zigbee2mqtt/files/compose.yaml | |
ansible-playbook main.yaml --limit localhost --tags zigbee2mqtt | |
docker ps --filter name=zigbee2mqtt | grep --quiet zigbee2mqtt |