Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.67 KB

slack-send-qr-code.md

File metadata and controls

36 lines (27 loc) · 1.67 KB

(iOS/Android) Send QR code to Slack

Description

Sending a QR code of the iOS or Android build uploaded to bitrise.io to Slack.

Prerequisites

  1. You have your iOS or Android app archived.
  2. You have Slack webhook set up and added to Env Vars (for example, $SLACK_WEBHOOK). See Configuring Slack integration

Instructions

  1. Add the Deploy to Bitrise.io - Apps, Logs, Artifacts step.
  2. Add the Create install page QR code step.
  3. Add the Send a Slack message step. Set the input variables:
    • Slack Webhook URL: for example, $SLACK_WEBHOOK.
    • Target Slack channel, group or username: for example, #build-notifications.
    • A URL to an image file that will be displayed as a thumbnail: $BITRISE_PUBLIC_INSTALL_PAGE_QR_CODE_IMAGE_URL.

bitrise.yml

- deploy-to-bitrise-io@2: {}
- create-install-page-qr-code@1: {}
- slack@4:
    inputs:
    - channel: "#build-notifications"
    - thumb_url: $BITRISE_PUBLIC_INSTALL_PAGE_QR_CODE_IMAGE_URL
    - webhook_url: $SLACK_WEBHOOK

Relevant Links