conf_tpl.yml 627 B

123456789101112131415161718192021222324252627282930
  1. #production
  2. scm:
  3. type: git
  4. url: git@github.com:meolu/walle-web.git
  5. branch: master
  6. deployment:
  7. user: wushuiyong
  8. from: /var/www/deploy/from
  9. env: simulate
  10. excludes:
  11. - READ.ME
  12. strategy: targz
  13. releases:
  14. user: wushuiyong
  15. enabled: true
  16. max: 10
  17. to: /var/www/deploy/to
  18. symlink: walle
  19. directory: releases
  20. hosts:
  21. - 127.0.0.1
  22. tasks:
  23. pre-deploy:
  24. on-deploy:
  25. post-release:
  26. - cp -rf {WORKSPACE}/deploy.yml {VERSION}/
  27. post-deploy: