You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 575B

123456789101112131415161718192021222324252627282930313233343536
  1. kind: pipeline
  2. name: default
  3. steps:
  4. - name: build
  5. image: klakegg/hugo:0.59.1-ext-alpine
  6. commands:
  7. - hugo-official
  8. when:
  9. branch:
  10. - master
  11. event:
  12. exclude:
  13. - pull_request
  14. - name: deploy
  15. image: appleboy/drone-scp
  16. settings:
  17. target: /usr/share/webapps/chromic.org
  18. source: public/*
  19. rm: true
  20. host:
  21. from_secret: ssh_host
  22. username:
  23. from_secret: ssh_username
  24. key:
  25. from_secret: ssh_key
  26. port:
  27. from_secret: ssh_port
  28. when:
  29. branch:
  30. - master
  31. event:
  32. exclude:
  33. - pull_request