From 3587950013f6434697887a8f06dfb548f2748ec7 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Thu, 16 Jul 2026 09:17:40 -0300 Subject: [PATCH] fixing pipeline --- .gitea/workflows/haven-notify.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/haven-notify.yaml b/.gitea/workflows/haven-notify.yaml index 6908b89..a109d2f 100644 --- a/.gitea/workflows/haven-notify.yaml +++ b/.gitea/workflows/haven-notify.yaml @@ -73,7 +73,7 @@ jobs: name: Build Haven Notify Image runs-on: runner-slim needs: test - if: ${{ gitea.event_name != 'pull_request' }} + if: ${{ (gitea.event_name == 'push' || gitea.event_name == 'workflow_dispatch') && gitea.ref == 'refs/heads/main' }} steps: - name: Check out repository uses: actions/checkout@v4 @@ -102,6 +102,7 @@ jobs: name: Deploy Haven Notify (internal) runs-on: runner-slim needs: build + if: ${{ (gitea.event_name == 'push' || gitea.event_name == 'workflow_dispatch') && gitea.ref == 'refs/heads/main' }} steps: - name: Rollout Restart Haven Notify uses: https://git.ivanch.me/ivanch/pipeline-actions/deploy-restart@main