We're pleased to announce a new feature added to the DeployHQ platform today - the ability to whitelist files and directories within your excluded files or .deployignore rules.
If you have a higher level directory you're looking to exclude from deployments, but you'd still like to upload one subdirectory or even a single file inside that directory, you can now do that much more easily.
Simply prefix your whitelist rule with a !
, then we'll ensure that the file or directory, as appropriate is still uploaded in your deployments. The rule syntax itself is identical to that used for any exclusions.
You'll be able to find out more information about this in our documentation, but if you have any questions about this new feature, please get in touch.