File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -278,12 +278,18 @@ rsconnect deploy api flask-api/ data.csv
278278
279279Since deploying an API or application starts at a directory level, there will be times
280280when some files under that directory subtree should not be included in the deployment
281- or manifest. Use the ` --exclude ` option to specify files to exclude. The ` -- exclude` option may be repeated, and may include a glob pattern .
281+ or manifest. Use the ` --exclude ` option to specify files or directories to exclude.
282282
283283``` bash
284284rsconnect deploy dash --exclude dash-app-venv --exclude TODO.txt dash-app/
285285```
286286
287+ You can exclude a directory by naming it:
288+ ``` bash
289+ rsconnect deploy dash --exclude dash-app-venv --exclude output/ dash-app/
290+ ```
291+
292+ The ` --exclude ` option may be repeated, and may include a glob pattern.
287293You should always quote a glob pattern so that it will be passed to ` rsconnect ` as-is
288294instead of letting the shell expand it. If a file is specifically listed as an extra
289295file that also matches an exclusion pattern, the file will still be included in the
You can’t perform that action at this time.
0 commit comments