pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
292 stars 45 forks source link

Add support for resuming uploads #24

Closed pocketarc closed 11 years ago

pocketarc commented 11 years ago

Create a DEPLOYRESUME[project]_[hostname] file in the same directory as the deploy.ini while uploading. That file should be updated with every file that's uploaded (and the commit hash that is being deployed). This will allow for resuming deployments.

The file is deleted when deployment is over, obviously.

When hitting "deploy", if it finds a resume file, it'll resume the upload, finish the upload, and THEN continue deploying new commits.

pocketarc commented 11 years ago

Not necessary; the only reason I needed it was because I had problems sometimes with files that would cause the upload to stop, but I've since resolved this issue.