feat: added render deploy step

This commit is contained in:
Ritesh Ghosh
2023-08-20 19:05:32 +05:30
parent 3e7f5eb37b
commit f34f91561b
+9
View File
@@ -30,3 +30,12 @@ jobs:
tags: |
ghcr.io/ghoshritesh12/aniwatch:${{ github.event.release.tag_name }}
ghcr.io/ghoshritesh12/aniwatch:latest
- name: Trigger render deploy
run: |
curl --request POST \
--url https://api.render.com/v1/services/${{ secrets.RENDER_API_SERVICE_ID }}/deploys \
--header 'accept: application/json' \
--header 'authorization: Bearer ${{ secrets.RENDER_API_KEY }}' \
--header 'content-type: application/json' \
--data '{ "clearCache": "clear" }'