Skip to content

ci: derive bot username automatically for api deploy#28

Closed
skulidropek wants to merge 1 commit intomainfrom
codex/api-deploy-derive-bot-username
Closed

ci: derive bot username automatically for api deploy#28
skulidropek wants to merge 1 commit intomainfrom
codex/api-deploy-derive-bot-username

Conversation

@skulidropek
Copy link
Copy Markdown
Member

Summary

  • remove PROD_TELEGRAM_BOT_USERNAME and PROD_TELEGRAM_MINI_APP_SHORT_NAME from the deploy workflow secret contract
  • hardcode the mini app short name to tma
  • resolve the bot username automatically from the bot token using Telegram getMe inside deploy-prod.sh

Verification

  • bash -n scripts/deploy-prod.sh
  • deploy workflow sanity check
  • getMe returned the current username TMASpawnerBot

@skulidropek
Copy link
Copy Markdown
Member Author

Superseded by #29, which contains the final merged version of this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant