From 4a1cb12f9aca1edf5cbb94a8d5ea108ee4eefb96 Mon Sep 17 00:00:00 2001 From: Martin Dimitrov Date: Tue, 27 Feb 2024 20:37:45 -0800 Subject: [PATCH] call stack webhook after docker build --- .gitea/workflows/docker-image.yaml | 9 ++++++++- packages/client/src/App.tsx | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker-image.yaml b/.gitea/workflows/docker-image.yaml index f486282..1eafc27 100644 --- a/.gitea/workflows/docker-image.yaml +++ b/.gitea/workflows/docker-image.yaml @@ -15,4 +15,11 @@ jobs: run: docker build . -t gitea.chromart.dedyn.io/martin/doorman:v1 -t gitea.chromart.dedyn.io/martin/doorman:latest - name: Login and Push Docker image - run: echo -n '${{ secrets.PASSWORD }}' | docker login gitea.chromart.dedyn.io --username ${{ secrets.USERNAME }} --password-stdin && docker image push --all-tags gitea.chromart.dedyn.io/martin/doorman \ No newline at end of file + run: echo -n '${{ secrets.PASSWORD }}' | docker login gitea.chromart.dedyn.io --username ${{ secrets.USERNAME }} --password-stdin && docker image push --all-tags gitea.chromart.dedyn.io/martin/doorman + + deploy-portainer: + needs: docker + runs-on: ubuntu-22.04 + steps: + - name: Call Portainer stack webhook + - run: curl --request POST http://portainer.mart.in/api/stacks/webhooks/db20216d-a40d-45a7-8e93-257d3efdac34 \ No newline at end of file diff --git a/packages/client/src/App.tsx b/packages/client/src/App.tsx index 3029cf8..4e1b831 100644 --- a/packages/client/src/App.tsx +++ b/packages/client/src/App.tsx @@ -17,7 +17,7 @@ function App() { setContent, } }> -
Doorman
+
Doorman 2.0
);