This commit is contained in:
@@ -4,10 +4,9 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
- 'main'
|
- "main"
|
||||||
paths:
|
paths:
|
||||||
- 'app-configs/rikku/homeassistant/**'
|
- "app-configs/rikku/homeassistant/**"
|
||||||
- '**/homeassistant-config-check.yml'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
home-assistant-config-check:
|
home-assistant-config-check:
|
||||||
@@ -23,8 +22,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
gotify_api_base: ${{ secrets.GOTIFY_URL }}
|
gotify_api_base: ${{ secrets.GOTIFY_URL }}
|
||||||
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
||||||
notification_title: 'GITEA: Home Assistant Config Check'
|
notification_title: "GITEA: Home Assistant Config Check"
|
||||||
notification_message: 'Starting config check...'
|
notification_message: "Starting config check..."
|
||||||
|
|
||||||
- name: 🚀 Run Home Assistant Configuration Check
|
- name: 🚀 Run Home Assistant Configuration Check
|
||||||
uses: https://git.trez.wtf/Trez.One/action-home-assistant@main
|
uses: https://git.trez.wtf/Trez.One/action-home-assistant@main
|
||||||
@@ -37,8 +36,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
gotify_api_base: ${{ secrets.GOTIFY_URL }}
|
gotify_api_base: ${{ secrets.GOTIFY_URL }}
|
||||||
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
||||||
notification_title: 'GITEA: Home Assistant Config Check'
|
notification_title: "GITEA: Home Assistant Config Check"
|
||||||
notification_message: '🚀 Config check done!'
|
notification_message: "🚀 Config check done!"
|
||||||
|
|
||||||
- name: Trigger Tar Valon Ansible Deploy
|
- name: Trigger Tar Valon Ansible Deploy
|
||||||
run: |
|
run: |
|
||||||
@@ -47,4 +46,4 @@ jobs:
|
|||||||
-H "Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
"https://git.trez.wtf/api/v1/repos/Trez/tar-valon-ansible/actions/workflows/gitea_tar-valon_ansible_deploy.yml/dispatches" \
|
"https://git.trez.wtf/api/v1/repos/Trez/tar-valon-ansible/actions/workflows/gitea_tar-valon_ansible_deploy.yml/dispatches" \
|
||||||
-d "{\"ref\":\"${BRANCH}\"}"
|
-d "{\"ref\":\"${BRANCH}\"}"
|
||||||
|
|||||||
Reference in New Issue
Block a user