Skip to content

Commit

Permalink
Test commit Turonk#27: add telegram bot
Browse files Browse the repository at this point in the history
  • Loading branch information
psevdoslon-ya committed Feb 10, 2023
1 parent 9884eb5 commit 0c71f53
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,15 @@ jobs:
sudo docker pull psevdoslon/infra_actions
#остановка всех контейнеров
sudo docker stop $(sudo docker ps -a -q)
sudo docker run --rm -d -p 5000:5000 psevdoslon/infra_actions
sudo docker run --rm -d -p 5000:5000 psevdoslon/infra_actions
send_message:
runs-on: ubuntu-latest
needs: deploy
steps:
- name: send message
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: ${{ github.workflow }} успешно выполнен!

0 comments on commit 0c71f53

Please sign in to comment.