From 621a54e43f93facad1a08fdb90db61cb2da70706 Mon Sep 17 00:00:00 2001 From: Martin Dimitrov Date: Wed, 15 Oct 2025 19:30:05 -0700 Subject: [PATCH] only redeploy gitainer when diff exists --- .gitea/workflows/reload-act-runner.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/reload-act-runner.yaml b/.gitea/workflows/reload-act-runner.yaml index af2b9a4..e845907 100644 --- a/.gitea/workflows/reload-act-runner.yaml +++ b/.gitea/workflows/reload-act-runner.yaml @@ -5,7 +5,18 @@ on: branches: [main] jobs: + diff: + uses: martin/chromart-gitea-actions/.gitea/workflows/diff-output.yaml@main + with: + repository: ${{ github.repository }} + ref: ${{ github.ref }} + files: .gitea/workflows/* + secrets: + token: ${{ github.token }} + deploy-gitainer: + needs: diff + if: ${{ needs.diff.outputs.is_changed == 'true' }} uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main with: stack_name: gitea_act_runner