.drone.yml 531 B

123456789101112131415161718192021222324252627
  1. kind: pipeline
  2. name: default
  3. clone:
  4. skip_verify: true
  5. steps:
  6. - name: build and publish
  7. image: mcr.microsoft.com/dotnet/sdk:7.0
  8. environment:
  9. NugetEndpoint:
  10. from_secret: NugetEndpoint
  11. NugetApiKey:
  12. from_secret: NugetApiKey
  13. commands:
  14. - chmod +x ./build.sh
  15. - ./build.sh -NugetEndpoint $NugetEndpoint -NugetApiKey $NugetApiKey
  16. - name: notify
  17. image: drillster/drone-email
  18. settings:
  19. host: 192.168.1.3
  20. skip_verify: true
  21. from: build@robware.uk
  22. when:
  23. status:
  24. - changed
  25. - failure