Skip to content

Commit

Permalink
Update deploy message to TG (#68)
Browse files Browse the repository at this point in the history
* update message

* fix url message

* fix problem

* fix format
  • Loading branch information
stepanLav authored Feb 13, 2024
1 parent 7c39613 commit 4422081
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ inputs:
IMAGE_TO_DEPLOY:
description: 'Which bot was updated'
required: true
APP_LINK:
description: 'Link to the web application'
required: true

runs:
using: "composite"
Expand All @@ -52,10 +55,11 @@ runs:
with:
to: ${{ inputs.TELEGRAM_TO }}
token: ${{ inputs.TELEGRAM_TOKEN }}
format: markdown
message: |
🖥️ New version for bot web app was deployed!
version: ${{ inputs.IMAGE_TO_DEPLOY }}
commit: ${{ github.sha }}
updated_bot: @${{ inputs.DEPLOYED_BOT }}
Lunch app: ${{ inputs.APP_LINK }}
1 change: 1 addition & 0 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,4 @@ jobs:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
DEPLOYED_BOT: ${{ secrets.NEXT_PUBLIC_BOT_ADDRESS }}
IMAGE_TO_DEPLOY: ${{ needs.build-docker.outputs.docker_tags }}
APP_LINK: https://t.me/nova_wallet_dev_bot/novawallet_dev

0 comments on commit 4422081

Please sign in to comment.