Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

55 řádky
1.5KB

  1. kind: pipeline
  2. type: docker
  3. name: default
  4. steps:
  5. - name: startnotification
  6. image: lddsb/drone-dingtalk-message
  7. settings:
  8. token: 66039657ac01b5e44720fbc01eaa107c351c32dc1da177efc766637a8fd96913
  9. type: markdown
  10. secret: SECb58ffd267c6598d027367070e4d6300db42f2b213a53392ee9a10adf3178b196
  11. tpl: ./drone/start.md
  12. tips_title: 湖州项管web开始构建
  13. success_pic: https://i.ibb.co/CB4HBLP/success-1.png
  14. failure_pic: https://i.ibb.co/wM2rbGS/fail-1.png
  15. msg_at_mobiles: 15106115982
  16. - name: build
  17. image: node:12.16.3
  18. commands:
  19. - npm install
  20. - npm run build
  21. - name: develop deploy
  22. image: appleboy/drone-scp
  23. settings:
  24. host:
  25. from_secret: host
  26. port:
  27. from_secret: port
  28. username:
  29. from_secret: username
  30. password:
  31. from_secret: password
  32. target: /server/huzhou/web
  33. source: ./dist
  34. rm: true
  35. when:
  36. branch:
  37. - master
  38. - name: endnotification
  39. image: lddsb/drone-dingtalk-message
  40. settings:
  41. token: 66039657ac01b5e44720fbc01eaa107c351c32dc1da177efc766637a8fd96913
  42. type: markdown
  43. secret: SECb58ffd267c6598d027367070e4d6300db42f2b213a53392ee9a10adf3178b196
  44. tpl: ./drone/end.md
  45. tips_title: 湖州项管web开始构建
  46. success_pic: https://i.ibb.co/CB4HBLP/success-1.png
  47. failure_pic: https://i.ibb.co/wM2rbGS/fail-1.png
  48. msg_at_mobiles: 15106115982
  49. trigger:
  50. branch:
  51. - master