workflow: call watcherd when docker image is updated
Some checks failed
Build Docker Image / Build Docker Image (push) Failing after 5m7s
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:
@@ -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"}'
|
||||
Reference in New Issue
Block a user