How does DeployHQ determine which files to upload after each build?
Each time a build command is run on a deployment through DeployHQ, a manifest of all generated files is created. This manifest, is then compared with the manifest generated in the last successful deployment.
Determinations are made as follows:
- Changed files are uploaded in the deployment
- Newly added files are uploaded in the deployment
- Removed files (i.e. files in the previous manifest that aren't in this manifest) are removed in the deployment
This is done to mirror what happens with the repository files as closely as possible.
If for any reason you need to force DeployHQ to upload all built files, you can run one deployment with the build disabled, then another with it enabled again.
Further information on that process can be found in our troubleshooting guide.