Skip to content

Commit

Permalink
Add deploy to heroku button
Browse files Browse the repository at this point in the history
  • Loading branch information
agam778 committed Mar 2, 2022
1 parent 09e9451 commit 23da9c6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Integrate Railway Project events with Telegram Chat/Channel using Railway Webhooks!

# One Click Self Deploy
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fagam778%2Frailway-to-tg&envs=TELEGRAM_BOT_TOKEN%2CTELEGRAM_CHAT_ID&TELEGRAM_BOT_TOKENDesc=Telegram+Bot%27s+token+%28Create+a+telegram+bot+at+%40BotFather+if+you+don%27t+have+one%29&TELEGRAM_CHAT_IDDesc=The+Chat%2FChannel%27s+id+where+the+bot+should+post+the+messages+%28Start+%5B%40MissRose_Bot%5D%28https%3A%2F%2Ft.me%2FMissRose_Bot%29+in+Personal+Messages%2C+and+run+%60%2Fid+%40channelorchat_username%60+command+and+copy+the+ID+if+you+don%27t+have+it%29&referralCode=agam778)
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fagam778%2Frailway-to-tg&envs=TELEGRAM_BOT_TOKEN%2CTELEGRAM_CHAT_ID&TELEGRAM_BOT_TOKENDesc=Telegram+Bot%27s+token+%28Create+a+telegram+bot+at+%40BotFather+if+you+don%27t+have+one%29&TELEGRAM_CHAT_IDDesc=The+Chat%2FChannel%27s+id+where+the+bot+should+post+the+messages+%28Start+%5B%40MissRose_Bot%5D%28https%3A%2F%2Ft.me%2FMissRose_Bot%29+in+Personal+Messages%2C+and+run+%60%2Fid+%40channelorchat_username%60+command+and+copy+the+ID+if+you+don%27t+have+it%29&referralCode=agam778) [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

# Manual Self Deploy
- Fork (and Star 😜) this repo.
Expand Down
23 changes: 23 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Railway to Telegram",
"description": "Integrate Railway Project events with Telegram Chat/Channel using Railway Webhooks!",
"keywords": ["opensource", "railwayapp", "webhooks", "telegram"],
"repository": "https://github.com/agam778/railway-to-tg",
"env": {
"TELEGRAM_BOT_TOKEN": {
"description": "Telegram Bot's token (Create a telegram bot at @BotFather if you don't have one)",
"required": "True"
},
"TELEGRAM_CHAT_ID": {
"description": "The Chat/Channel's id where the bot should post the messages (Start [@MissRose_Bot](https://t.me/MissRose_Bot) in Personal Messages, and run `/id @channelorchat_username` command and copy the ID if you don't have it)",
"required": "True"
}
},
"stack": "container",
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
}
}

0 comments on commit 23da9c6

Please sign in to comment.