ci: guard deploy con variable
ci / build (push) Failing after 1s
ci / deploy (push) Skipped

This commit is contained in:
2026-11-23 18:11:52 +00:00
parent 917cc31262
commit 1cf183cf4b
+2 -1
View File
@@ -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