From e104d26583b4e712b9cd860f0368e1872f19bc70 Mon Sep 17 00:00:00 2001 From: mohamad Date: Sun, 1 Jun 2025 14:38:04 +0200 Subject: [PATCH] chore: Update deployment workflow to trigger on closed pull requests to prod --- .gitea/workflows/deploy-prod.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-prod.yml b/.gitea/workflows/deploy-prod.yml index a1ab282..43dee86 100644 --- a/.gitea/workflows/deploy-prod.yml +++ b/.gitea/workflows/deploy-prod.yml @@ -1,12 +1,14 @@ name: Deploy to Production, build images and push to Gitea Registry on: - push: + pull_request: + types: [closed] branches: - prod jobs: build_and_push: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: