add when block to drone

This commit is contained in:
2025-07-13 16:42:53 +05:00
parent 74d6bc0aa1
commit b925f75e17

View File

@ -11,4 +11,7 @@ steps:
exec_pre: rm -rf /var/www/html/wp-content/themes/somos-infinitos-theme/* exec_pre: rm -rf /var/www/html/wp-content/themes/somos-infinitos-theme/*
dest: /var/www/html/wp-content/themes/somos-infinitos-theme dest: /var/www/html/wp-content/themes/somos-infinitos-theme
deploy_key: deploy_key:
from_secret: drone_ssh_smol-wp.autonomic.zone from_secret: drone_ssh_smol-wp.autonomic.zone
when:
branch:
- staging