From ffbc58e925a6483686ffdedb9b1aaef4bd4349f7 Mon Sep 17 00:00:00 2001 From: Relitrix Date: Sun, 31 Mar 2024 16:29:13 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=80=D0=B0=D0=B7=D1=83?= =?UTF-8?q?=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D0=B1=D0=B8=D0=BB=D0=B4?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b5fbad2..b8e8282 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -21,3 +21,16 @@ jobs: run: docker build . --file Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Docker Push run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + + deployment: + + needs: [build] + runs-on: ubuntu-latest + steps: + - name: Deploy Stage + uses: fjogeleit/http-request-action@v1 + with: + url: 'http://${{ vars.HOST }}/v1/update' + method: 'GET' + customHeaders: '{"Authorization": "Bearer ${{ secrets.WATCHTOWER_HTTP_API_TOKEN }}"}' + timeout: 120000