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