Skip to content

Commit 8f5426e

Browse files
mgratchapmatthews
andauthored
Update Readme example and ensure exclude.txt doesn't delete wpe-cache-plugin (#19)
* Updated readme to include a working example of excluding multiple files and a plugin directory. * Update excude.txt to ensure that the wpe-cache-plugin php file and directory are properly ignored, in recent tests this mu-plugin was being deleted. * Update README.md Co-authored-by: Andrew Matthews <[email protected]>
1 parent 41a8a39 commit 8f5426e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
SRC_PATH: "wp-content/themes/genesis-child-theme/"
8989
REMOTE_PATH: "wp-content/themes/genesis-child-theme/"
9090
PHP_LINT: TRUE
91-
FLAGS: -azvr --inplace --delete --exclude=".*" --exclude-from=ignorefile.txt
91+
FLAGS: -azvr --inplace --delete --exclude=".*" --exclude=wp-content/mu-plugins/local-plugin --exclude-from=ignorefile.txt
9292
SCRIPT: "path/yourscript.sh"
9393
CACHE_CLEAR: TRUE
9494
```

exclude.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ wp-content/mu-plugins/force-strong-passwords*
5353
wp-content/mu-plugins/wpengine-common*
5454
wp-content/mu-plugins/wpe-wp-sign-on-plugin*
5555
wp-content/mu-plugins/wpe-elasticpress-autosuggest-logger*
56-
wp-content/mu-plugins/wpe-cache-plugin/*
5756
wp-content/mu-plugins/wpe-cache-plugin*
5857
wp-content/mysql.sql
5958

0 commit comments

Comments
 (0)