scm.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. return [
  3. // SCM repository
  4. //////////////////////////////////////////////////////////////////////
  5. // The SCM used (supported: "git", "svn")
  6. 'scm' => 'git',
  7. // The SSH/HTTPS address to your repository
  8. // Example: https://github.com/vendor/website.git
  9. 'repository' => 'http://caihongxingqiu:Ch20151002@git.caihongxingqiu.net/rainbow/cms-service.git',
  10. // The repository credentials : you can leave those empty
  11. // if you're using SSH or if your repository is public
  12. // In other cases you can leave this empty too, and you will
  13. // be prompted for the credentials on deploy. If you don't want
  14. // to be prompted (public repo, etc) set the values to null
  15. 'username' => 'null',
  16. 'password' => 'null',
  17. // The branch to deploy
  18. 'branch' => 'master',
  19. // Whether your SCM should do a "shallow" clone of the repository
  20. // or not – this means a clone with just the latest state of your
  21. // application (no history)
  22. // If you're having problems cloning, try setting this to false
  23. 'shallow' => true,
  24. // Recursively pull in submodules. Works only with GIT.
  25. 'submodules' => true,
  26. ];