diff --git a/.drone.yml b/.drone.yml index 0f9c27a..dd866d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,4 +34,4 @@ steps: from_secret: prod_folder_path commands: - cd lhoist-stay-safe__backend-theme - - rsync -avhp -e 'ssh -p 22' ./ $PROD_SERVER_PATH:back/wp-content/themes/Deligraph_lhoist --delete + - rsync -avhp -e 'ssh -p 22' ./ $PROD_SERVER_PATH:back/wp-content/themes/Deligraph_lhoist --delete --exclude 'node_modules' --exclude 'Makefile' --exclude '.git' --exclude '.env' --exclude '.env_prod' --exclude '.env_dev'