From 90be7f0d7385261ffe2b1bdfdb1b25a0dd3f7a36 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Fri, 19 Sep 2025 07:20:23 -0400 Subject: [PATCH] Adding Gotify notifications. --- .gitea/workflows/renovate-pr-deploy.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/renovate-pr-deploy.yml b/.gitea/workflows/renovate-pr-deploy.yml index f6ef895f..2e1986c2 100644 --- a/.gitea/workflows/renovate-pr-deploy.yml +++ b/.gitea/workflows/renovate-pr-deploy.yml @@ -59,6 +59,14 @@ jobs: services=$(echo $services | tr ' ' '\n' | sort -u | xargs) echo "services=$services" >> $GITHUB_OUTPUT + - name: Gotify Notification + uses: eikendev/gotify-action@master + with: + gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' + gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' + notification_title: 'GITEA: [RENOVATE] Docker Compose Deployment @ Rinoa' + notification_message: 'Starting Docker Compose run...' + - name: Pull images for modified services if: steps.services.outputs.services != '' run: | @@ -79,6 +87,8 @@ jobs: compose-flags: --profile rinoa-apps - name: Docker Compose Healthcheck + continue-on-error: true + id: health uses: jaracogmbh/docker-compose-health-check-action@v1.0.0 with: max-retries: 30 @@ -86,8 +96,14 @@ jobs: compose-file: "docker-compose.yml" skip-exited: "true" skip-no-healthcheck: "true" - continue-on-error: true - id: health + + - name: Gotify Notification + uses: eikendev/gotify-action@master + with: + gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' + gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' + notification_title: 'GITEA: [RENOVATE] Docker Compose Deployment @ Rinoa' + notification_message: 'Deployment completed successfully.' - name: Deployment Summary if: always()