/render-deploy-api

Github action build for triggering deployment on render.com build with 💘

Primary LanguagePython

Trigger deploy

This GitHub action allows you to trigger deloyment on render.com

Usage

- name: Trigger Deploy
  id: render-deployer
  uses: OneHox/render-deploy-api@v1.0.0
  with:
    serviceId: srv-jkllgo61101c73fk966g
    bearer: rnd_xkQiKVCnuBUzGtySBGKKWSX7G14c

Required Parameters:

Environmetal variables:

  • Nothing

Outputs

  • response: Response text from render api
  1. Open render and login

  2. Generate an api key

    • Settings > API KEY > rnd_xkQiKVCnuBUzGt***
  3. Get service id

    • YourApp -> Settings > Deploy Hook > srv-cknlgo61101c73fk966g
curl --request GET \
 --url 'https://api.render.com/v1/services?limit=20' \
 --header 'Accept: application/json' \
 --header 'Authorization: Bearer rnd_xkQiKVCnuBUzGt***'