workflow: call watcherd when docker image is updated
Some checks failed
Build Docker Image / Build Docker Image (push) Failing after 5m7s

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-23 21:35:55 +07:00
parent b1fef4c600
commit d38a59a7c1

View File

@@ -23,5 +23,9 @@ jobs:
set -e
docker image rm -f accounting-api:latest
docker build . -t accounting-api:latest
- 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"}'