Skip to content

Commit 6a9d619

Browse files
Cleanup/readme (#9)
* update readme w/exclude instructions * updated Readme w/exclude instructions
1 parent 44ec0a1 commit 6a9d619

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
SRC_PATH: "wp-content/themes/genesis-child-theme/"
8585
REMOTE_PATH: "wp-content/themes/genesis-child-theme/"
8686
PHP_LINT: TRUE
87-
FLAGS: -azvr --inplace --delete --exclude=".*" --exclude-from=.deployignore
87+
FLAGS: -azvr --inplace --delete --exclude=".*" --exclude-from=ignorefile.txt
8888
SCRIPT: "path/yourscript.sh"
8989
CACHE_CLEAR: TRUE
9090
```
@@ -114,4 +114,5 @@ jobs:
114114

115115
* [Defining environment variables in GitHub Actions](https://docs.github.com/en/actions/reference/environment-variables)
116116
* [Storing secrets in GitHub repositories](https://docs.github.com/en/actions/reference/encrypted-secrets)
117-
* As this script does not restrict files or directories that can be deployed, it is recommended to leverage one of [WP Engine's .gitignore templates.](https://wpengine.com/support/git/#Add_gitignore)
117+
* It is recommended to leverage one of [WP Engine's .gitignore templates.](https://wpengine.com/support/git/#Add_gitignore)
118+
* This action excludes several files and directories from the deploy by default. See the [exclude.txt](https://github.com/wpengine/github-action-wpe-site-deploy/blob/main/exclude.txt) for reference.

0 commit comments

Comments
 (0)