deploy-slack-app

Installation
SKILL.md

Deploy Slack App

Take a Slack app that already works locally and deploy it to a hosting provider as a separate Slack app, with its own app ID, that keeps running without the developer's machine. The local development app is unchanged, and Step 5: Deploy explains how the two coexist. This is the step after the slack:test-slack-app skill confirms the app responds.

The mechanism is the Slack CLI's deploy hook. Adding a deploy key to the project's .slack/hooks.json replaces Slack's own hosted deployment with a script of your choosing, and the CLI runs that script after it has created and installed the deployed app. That ordering is the whole reason this approach is worth using: the app's bot and app-level tokens are already in the script's environment by the time it runs, so nothing here has to prompt for a secret or store one.

Two supported providers, both running the app as a long-lived worker process:

Provider Process type Deploys from Secrets Current pricing
Railway Service, no port binding required The working directory Passed on stdin https://railway.com/pricing
Heroku worker dyno A git push of committed code Passed as arguments https://www.heroku.com/pricing

Railway is the better default, and the reasons are in Step 2a: Choose a Provider.


Step 1: Check Prerequisites

Installs
92
GitHub Stars
155
First Seen
12 days ago