Add bots #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fly.io Telegram Bot Staging | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
FLY_API_TOKEN: ${{ secrets.STAGING_FLY_TELEGRAM_DEPLOY_TOKEN }} | |
jobs: | |
deploy: | |
name: Deploy staging telegram bot | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: Deploy bot | |
run: flyctl deploy --remote-only -a jellychat-telegram-staging -c fly_telegram.toml | |
working-directory: bots |