diff --git a/.drone.yml b/.drone.yml index 64e6b89..a9b3def 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: