only redeploy gitainer when diff exists
This commit is contained in:
parent
91e699db09
commit
621a54e43f
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user