only redeploy gitainer when diff exists
Some checks failed
Reload Act Runner Stack to clear cache for workflows / diff (push) Successful in 6s
Reload Act Runner Stack to clear cache for workflows / deploy-gitainer (push) Has been cancelled

This commit is contained in:
Martin Dimitrov 2025-10-15 19:30:05 -07:00
parent 91e699db09
commit 621a54e43f

View File

@ -5,7 +5,18 @@ on:
branches: [main] branches: [main]
jobs: 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: deploy-gitainer:
needs: diff
if: ${{ needs.diff.outputs.is_changed == 'true' }}
uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main
with: with:
stack_name: gitea_act_runner stack_name: gitea_act_runner