deploy.php 248 B

12345
  1. <?php
  2. require_once "../config.inc";
  3. exec("cd ".SOURCE_PATH.";git pull origin master;git archive master --format=tar --output=".DEPLOY_PATH."doxencode.tar");
  4. exec("cd ".DEPLOY_PATH.";tar xvf doxencode.tar");
  5. exec("rm ".DEPLOY_PATH."doxencode.tar");