This GitHub action allows you to trigger deloyment on render.com
- name: Trigger Deploy
id: render-deployer
uses: OneHox/render-deploy-api@v1.0.0
with:
serviceId: srv-jkllgo61101c73fk966g
bearer: rnd_xkQiKVCnuBUzGtySBGKKWSX7G14cRequired Parameters:
serviceId: The id of the service example: https://api.render.com/v1/services/{serviceId}/deploysbearer: Authorization token for your profile
Environmetal variables:
- Nothing
response: Response text from render api
-
Open render and login
-
Generate an api key
- Settings > API KEY > rnd_xkQiKVCnuBUzGt***
-
Get service id
- YourApp -> Settings > Deploy Hook >
srv-cknlgo61101c73fk966g
- YourApp -> Settings > Deploy Hook >
curl --request GET \
--url 'https://api.render.com/v1/services?limit=20' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer rnd_xkQiKVCnuBUzGt***'