From 9c312927bfc1edd4cf24fffcd66f65fcf95e153c Mon Sep 17 00:00:00 2001 From: "Luke Tainton (ltainton)" Date: Fri, 20 Oct 2023 21:16:52 +0100 Subject: [PATCH] chore(ci): auto-update Portainer stack on release --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index baad408..26e94ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,3 +38,12 @@ jobs: run: | docker push ghcr.io/luketainton/roboluke-tasks:latest docker push ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }} + + deploy: + name: Update Portainer Deployment + runs-on: ubuntu-latest + steps: + - uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.PORTAINER_WEBHOOK_URL }} + method: POST