This commit is contained in:
@@ -105,7 +105,7 @@ jobs:
|
||||
notification_title: 'GITEA: Dagu Validation'
|
||||
notification_message: 'Dagu DAG validation failed! 🚫'
|
||||
|
||||
- name: Trigger downstream workflow
|
||||
- name: Trigger Tar Valon Ansible Deploy
|
||||
run: |
|
||||
BRANCH="${GITHUB_REF_NAME}"
|
||||
curl -X POST \
|
||||
|
||||
@@ -38,4 +38,13 @@ jobs:
|
||||
gotify_api_base: ${{ secrets.GOTIFY_URL }}
|
||||
gotify_app_token: ${{ secrets.RUNNER_GOTIFY_TOKEN }}
|
||||
notification_title: 'GITEA: Home Assistant Config Check'
|
||||
notification_message: '🚀 Config check done!'
|
||||
notification_message: '🚀 Config check done!'
|
||||
|
||||
- name: Trigger Tar Valon Ansible Deploy
|
||||
run: |
|
||||
BRANCH="${GITHUB_REF_NAME}"
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}" \
|
||||
-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" \
|
||||
-d "{\"ref\":\"${BRANCH}\"}"
|
||||
Reference in New Issue
Block a user