release.yaml 527 B

12345678910111213141516171819
  1. when:
  2. - event: tag
  3. steps:
  4. - name: release
  5. environment:
  6. CODEBERG_GIT_USERNAME:
  7. from_secret: codeberg_git_username
  8. CODEBERG_GIT_PASSWORD:
  9. from_secret: codeberg_git_password
  10. image: codeberg.org/mark22k/ci:latest
  11. pull: true
  12. commands:
  13. - make debian
  14. - |
  15. for FILE in ../crazytrace_*.deb; do
  16. curl --user $CODEBERG_GIT_USERNAME:$CODEBERG_GIT_PASSWORD --upload-file $FILE https://codeberg.org/api/packages/mark22k/debian/pool/stable/main/upload
  17. done