Add cache purging step to drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Yarmo Mackenbach 2020-06-12 21:58:54 +02:00
parent 343b933aee
commit 5a38c1f28d

View File

@ -24,6 +24,19 @@ steps:
source: ./
target: ~/web/dev.yarmo.eu
exclude: [ ".git/", ".gitignore", ".drone.yml", "composer.json", "composer.lock" ]
- name: purge cache
image: appleboy/drone-ssh
settings:
host:
from_secret: ssh_host
port:
from_secret: ssh_port
username:
from_secret: ssh_user
key:
from_secret: ssh_key
script:
- rm -rf web/dev.yarmo.eu/cache/*
trigger:
branch: