adding a step in ci to remove old html files
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
simonpetit 2025-12-03 17:56:38 +00:00
parent 8879a8aeab
commit dad0d157ef

View File

@ -8,6 +8,20 @@ steps:
command:
- publish
- name: Remove old
image: appleboy/drone-ssh
settings:
host:
- example1.com
- example2.com
username: ubuntu
password:
from_secret: ssh_password
port: 22
command_timeout: 2m
script:
- rm /var/www/html/blog/*.html
- name: Deploy
image: appleboy/drone-scp
settings: