Skip to content

Commit

Permalink
fix:workflow curl request for render deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldahal committed May 31, 2024
1 parent 2c1d761 commit bc3fbfb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
RENDER_API_KEY: ${{ secrets.RENDER_API_KEY }}
SERVICE_ID: ${{ secrets.RENDER_SERVICE_ID }}
run: |
curl -X POST "https://api.render.com/v1/services/${{ secrets.RENDER_SERVICE_ID }}/deploys" \
-H "Authorization: Bearer ${{ secrets.RENDER_API_KEY }}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{"clearCache":false}'
curl --request POST \
--url "https://api.render.com/v1/services/${{ secrets.RENDER_SERVICE_ID }}/deploys" \
--header "accept: application/json" \
--header "authorization: Bearer ${{ secrets.RENDER_API_KEY }}" \
--header "content-type: application/json" \
--data '{"clearCache":false}'

0 comments on commit bc3fbfb

Please sign in to comment.