[cm & ci] Send message on user unban. Trigger redeploy in CI.

This commit is contained in:
West14
2022-04-08 15:53:34 +03:00
parent 6b49ecb4d9
commit 166363cd50
2 changed files with 11 additions and 1 deletions
+8 -1
View File
@@ -36,4 +36,11 @@ jobs:
platforms: linux/amd64
push: ${{ github.ref == 'refs/heads/dev' }}
tags: ${{ secrets.REGISTRY_URL }}/west/telegram-bot:latest,
${{ secrets.REGISTRY_URL }}/west/telegram-bot:${{ steps.commit_sha.outputs.sha_short }}
${{ secrets.REGISTRY_URL }}/west/telegram-bot:${{ steps.commit_sha.outputs.sha_short }}
-
name: Redeploy container
uses: fjogeleit/http-request-action@v1
if: ${{ github.ref == 'refs/heads/dev' }}
with:
url: ${{ secrets.CONTAINER_WEBHOOK }}
method: 'POST'