Header

Don't deploy from scratch in your first deployment

When you create a new server in DeployHQ, by default the whole repository will be uploaded to your server. This is great when you're starting afresh, but not useful if your files are already present on the server.

For example, the latest commit in your repository is 67d0f651 and the files up to reference 67d0f651 are already on your server, and you want to create a new server in DeployHQ but you don’t want it to re-deploy all the files that already exist on your server.

You can skip this by simply by clicking the orange commit selection icon next the start commit reference when running the first deployment, choosing the commit at the top of the list then clicking Select Commit.

Don

Both revisions will now be set as the same reference, and your deployment will run without uploading any files. Then, any deployments after this will just deploy the changes pushed as normal.