Hugo website for www.bluelife.at
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 976B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. kind: pipeline
  2. name: default
  3. clone:
  4. disable: true
  5. steps:
  6. - name: clone
  7. image: docker:git
  8. commands:
  9. - git clone --recursive https://code.bluelife.at/decke/www.git /drone/src
  10. - git -c advice.detachedHead=false checkout $DRONE_COMMIT
  11. - name: build-dev
  12. image: chaosbunker/drone-hugo:0.55.5
  13. settings:
  14. url: https://www-dev.bluelife.at/
  15. validate: true
  16. - name: deploy-dev
  17. image: lucap/drone-netlify
  18. settings:
  19. token:
  20. from_secret: netlify-token
  21. site_id:
  22. from_secret: netlify-siteid-dev
  23. domain: www-dev.bluelife.at
  24. path: ./public
  25. - name: build-prod
  26. image: chaosbunker/drone-hugo:0.55.5
  27. settings:
  28. url: https://www.bluelife.at/
  29. validate: true
  30. when:
  31. branch:
  32. - master
  33. - name: deploy-prod
  34. image: lucap/drone-netlify
  35. settings:
  36. token:
  37. from_secret: netlify-token
  38. site_id:
  39. from_secret: netlify-siteid-prod
  40. domain: www.bluelife.at
  41. path: ./public
  42. when:
  43. branch:
  44. - master