From 67871be095be1d51533ba8e7a72db6eb182e6944 Mon Sep 17 00:00:00 2001 From: Greg Frasco Date: Mon, 25 Nov 2024 08:29:33 -0500 Subject: [PATCH] feat: add deployment hook --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b63b6f..30139c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,4 +63,12 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha - cache-to: type=gha,mode=max \ No newline at end of file + cache-to: type=gha,mode=max + + - name: Push to Production + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + uses: fjogeleit/http-request-action@v1 + with: + method: "POST" + url: ${{ secrets.PORTAINER_WEBHOOK }} + preventFailureOnNoResponse: true \ No newline at end of file