From 1cf183cf4bef69add54f2c6f85a53ea7793df1a8 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 23 Nov 2026 18:11:52 +0000 Subject: [PATCH] ci: guard deploy con variable --- .gitea/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 86acb4e..5b0e086 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -69,7 +69,8 @@ jobs: deploy: needs: build - if: gitea.ref == 'refs/heads/main' + # Actívalo creando la variable de repo DEPLOY_ENABLED=true + if: vars.DEPLOY_ENABLED == 'true' && gitea.ref == 'refs/heads/main' runs-on: linux steps: - name: Deploy por SSH