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: