Blog-style website for karathan using the self-made Stellar Theme powered by HTML5Up http://blog.karathan.at

123456789101112131415161718192021222324252627282930313233343536
  1. pipeline:
  2. modify_staging:
  3. image: debian:stretch
  4. commands:
  5. - mv content/_meta-staging.md content/_meta.md
  6. - mv config/config-staging.yml config/config.yml
  7. when:
  8. branch: staging
  9. deploy_staging:
  10. image: appleboy/drone-scp
  11. host: gitlab.karathan.at
  12. port: 22
  13. target: "/var/www/blog-staging"
  14. source: "*"
  15. secrets: [ ssh_password, ssh_username ]
  16. when:
  17. branch: staging
  18. modify_production:
  19. image: debian:stretch
  20. commands:
  21. - mv content/_meta-live.md content/_meta.md
  22. - mv config/config-live.yml content/config.yml
  23. when:
  24. branch: master
  25. deploy_staging:
  26. image: appleboy/drone-scp
  27. host: gitlab.karathan.at
  28. port: 22
  29. target: "/var/www/blog"
  30. source: "*"
  31. secrets: [ ssh_password, ssh_username ]
  32. when:
  33. branch: master