ci: guard deploy con variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user