diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c31a139..3e21b72 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -25,3 +25,12 @@ jobs: with: push: true tags: ${{ secrets.REGISTRY_URL }}/portfolio:latest + + - name: Restart docker container + uses: JamesIves/fetch-api-data-action@v2 + with: + endpoint: ${{ secrets.SERVER_API_URL }}/portfolio?key=${{ secrets.SERVER_API_KEY }} + configuration: | + { + "method": "POST" + }