Tweaking checkout and HA config check steps.
Home Assistant & Miscellaneous Deployment / Check and Create PR (push) Successful in 11s
Home Assistant & Miscellaneous Deployment / Home Assistant Configuration Check (push) Failing after 18s
Home Assistant & Miscellaneous Deployment / Generate list of added/modified/deleted services (push) Has been skipped
Home Assistant & Miscellaneous Deployment / Docker Compose Dry Run (push) Has been skipped
Home Assistant & Miscellaneous Deployment / Check and Create PR (push) Successful in 11s
Home Assistant & Miscellaneous Deployment / Home Assistant Configuration Check (push) Failing after 18s
Home Assistant & Miscellaneous Deployment / Generate list of added/modified/deleted services (push) Has been skipped
Home Assistant & Miscellaneous Deployment / Docker Compose Dry Run (push) Has been skipped
This commit is contained in:
@@ -71,11 +71,6 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
sparse-checkout: ansible/configs/homeassistant/*.yaml
|
sparse-checkout: ansible/configs/homeassistant/*.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
- name: Move YAML configs to root folder
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
mv ansible/configs/homeassistant/*.yaml .
|
|
||||||
ls -al ${GITHUB_WORKSPACE}
|
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
@@ -84,9 +79,14 @@ jobs:
|
|||||||
notification_title: 'GITEA: Home Assistant Config Check'
|
notification_title: 'GITEA: Home Assistant Config Check'
|
||||||
notification_message: 'Beginning HA config check...'
|
notification_message: 'Beginning HA config check...'
|
||||||
- name: Run Home Assistant Configuration Check
|
- name: Run Home Assistant Configuration Check
|
||||||
uses: frenck/action-home-assistant@v1.4.1
|
run: |
|
||||||
with:
|
pwd
|
||||||
path: ${GITHUB_WORKSPACE}
|
mv ansible/configs/homeassistant/*.yaml .
|
||||||
|
ls -al ${GITHUB_WORKSPACE}
|
||||||
|
docker run --rm --entrypoint "" -v ${GITHUB_WORKSPACE}:/config --workdir /config "ghcr.io/home-assistant/home-assistant:stable" python -m homeassistant --config "/config" --script check_config
|
||||||
|
# uses: frenck/action-home-assistant@v1.4.1
|
||||||
|
# with:
|
||||||
|
# path: ${GITHUB_WORKSPACE}
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user