From e8a9cc5c396a6b994838cc4a6017d481ed2ace75 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Sun, 28 Dec 2025 10:25:15 +0100 Subject: [PATCH] ci: add force deploy --- .gitea/workflows/deploy.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index a82c343..16672f1 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: jobs: check-changes: @@ -33,7 +34,7 @@ jobs: deploy-node-labels: runs-on: ubuntu-latest needs: check-changes - if: ${{ needs.check-changes.outputs.node-labels == 'true' }} + if: ${{ needs.check-changes.outputs.node-labels == 'true' || github.event_name == 'workflow_dispatch' }} steps: - uses: actions/checkout@v5 - uses: azure/setup-kubectl@v4 @@ -48,7 +49,7 @@ jobs: deploy-coredns: runs-on: ubuntu-latest needs: check-changes - if: ${{ needs.check-changes.outputs.coredns == 'true' }} + if: ${{ needs.check-changes.outputs.coredns == 'true' || github.event_name == 'workflow_dispatch' }} steps: - uses: actions/checkout@v5 - uses: azure/setup-kubectl@v4 @@ -66,7 +67,7 @@ jobs: deploy-traefik: runs-on: ubuntu-latest needs: check-changes - if: ${{ needs.check-changes.outputs.traefik == 'true' }} + if: ${{ needs.check-changes.outputs.traefik == 'true' || github.event_name == 'workflow_dispatch' }} steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4 @@ -115,7 +116,7 @@ jobs: deploy-crowdsec: runs-on: ubuntu-latest needs: check-changes - if: ${{ needs.check-changes.outputs.crowdsec == 'true' }} + if: ${{ needs.check-changes.outputs.crowdsec == 'true' || github.event_name == 'workflow_dispatch' }} steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/actions/extract-namespace-from-repo-name@v0 -- 2.49.1