Skip to main content

GitHub pull request: send the build QR code

DescriptionClick to copy link

Send a comment to the GitHub pull request with a QR code to the build uploaded to bitrise.io.

PrerequisitesClick to copy link

  • You have your iOS or Android app archived.
  • You have a GitHub personal access token with the repo scope and you've added it as a Secret ($GITHUB_ACCESS_TOKEN) to your Bitrise app.

InstructionsClick to copy link

  1. Add the Deploy to Bitrise.io - Apps, Logs, Artifacts Step.

  2. Add the Create install page QR code Step.

  3. Add the Comment on GitHub Pull Request Step and set the following input variables:

    • GitHub personal access token: Set it to the previously created Secret, $GITHUB_ACCESS_TOKEN.

    • Body: Add the following:

      ![QR code]($BITRISE_PUBLIC_INSTALL_PAGE_QR_CODE_IMAGE_URL)

      $BITRISE_PUBLIC_INSTALL_PAGE_URL

bitrise.ymlClick to copy link

- deploy-to-bitrise-io@2: {}
- create-install-page-qr-code@1: {}
- comment-on-github-pull-request@0:
inputs:
- body: |-
![QR code]($BITRISE_PUBLIC_INSTALL_PAGE_QR_CODE_IMAGE_URL)

$BITRISE_PUBLIC_INSTALL_PAGE_URL
- personal_access_token: "$GITHUB_ACCESS_TOKEN"