expo-postpublish-releasechannels-slack-notify

Post a notification on Slack on a specific channel when your project is published with a QR code.

Usage no npm install needed!

<script type="module">
  import expoPostpublishReleasechannelsSlackNotify from 'https://cdn.skypack.dev/expo-postpublish-releasechannels-slack-notify';
</script>

README

expo-postpublish-releasechannels-slack-notify

Post a notification on Slack on a specific channel when your project is published with a QR code.

Installation

  1. Create an incoming webhook and keep the window open with the URL.
  2. yarn add expo-postpublish-releasechannels-slack-notify in your project.
  3. Add the following to your app.json within the "expo" key.
  "hooks": {
    "postPublish": [
      {
        "file": "expo-postpublish-releasechannels-slack-notify",
        "config": {
            "<release-channel-name>" : {
              "webhookUrl": "your webhook url here", // slack incoming webhooks are dedicated to a single channel
            },
            "default" : {
              "webhookUrl": "your webhook url here",
            }
        }
      }
    ]
  }