Skip to content

Commit

Permalink
feat(cicd): announce deploys V
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 14, 2023
1 parent a25f8aa commit cd43d8c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,17 @@ jobs:
- name: Announce deploy to Telegram
uses: enflo/curl-action@master
with:
curl: |
-X POST \
-H 'Content-Type: application/json' \
curl: >
-X POST
-H 'Content-Type: application/json'
-d '{ \
"chat_id": "${{ secrets.ANNOUNCE_TELEGRAM_TO }}", \
"disable_notification": true, \
"text": " \
${{ github.actor }} deployed: \n \
environment: production on https://fiesta.plus \n \
message: ${{ github.event.commits[0].message }} \n \
changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} \n \
" \
}' \
"chat_id": "${{ secrets.ANNOUNCE_TELEGRAM_TO }}",
"disable_notification": true,
"text": "
${{ github.actor }} deployed: \n
environment: production on https://fiesta.plus \n
message: ${{ github.event.commits[0].message }} \n
changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} \n
"
}'
https://api.telegram.org/bot${{ secrets.ANNOUNCE_TELEGRAM_TOKEN }}/sendMessage

0 comments on commit cd43d8c

Please sign in to comment.