diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index a847633..79b6415 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -23,5 +23,9 @@ jobs: set -e docker image rm -f accounting-api:latest docker build . -t accounting-api:latest - - \ No newline at end of file + - name: Restart compose + run: | + curl -X POST http://10.9.0.0:3000/run \ + -H "Content-Type: application/json" \ + -H "X-SECRET: ${{ secrets.EXPRESS_SECRET }}" \ + -d '{"command": "cd $HOME/backend-development-kickstarter && ddd && ddud"}' \ No newline at end of file