Upload Android apk to slack channel

Hi,

I want to integrate BuildKite with slack, so based on a specific message on github i want to build and send apk to slack channel. Can i find any reference for that or how can i achieve that.

Thanks

Hey @Pavlo52 welcome to the forum! :tada:

I think for this case, you could use step conditionals to add a step that is only run when the commit message matches your needs. This step would execute a script that build the apk and upload it to slack using their API.

eg something like this:

- label: ":slack: upload apk to slack"
  if: build.message =! /slack/
  command: build-and-upload.sh