From fae868db5f2c885d9945543ff7c9642a4ac22373 Mon Sep 17 00:00:00 2001 From: Siubeng Date: Tue, 27 Feb 2024 23:36:55 +0800 Subject: [PATCH] feat(Dockerfile): auto deploy step --- .github/workflows/docker-image.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c8bfdb3..8bb8ae5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -46,3 +46,10 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + - name: Deploy for sb_2nd_bot instance + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.DEPLOY_WEBHOOK_CALLBACK_URL }}} + method: 'POST' + customHeaders: '{"Content-Type": "application/json"}' + data: '${{ secrets.DEPLOY_WEBHOOK_CALLBACK_BODY }}'