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 486B

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