Use this action to track a deployment on Render
Name | Description | Required |
---|---|---|
service-id |
The id of the Render service to be tracked. | Yes ✅ |
render-token |
Render API Token to use - see documentation | No ❌ |
github-token |
GitHub Token to use | No ❌ |
sleep |
Sleep time between the render deployment success and setting the Github deployment as successful. (default: 0) |
No ❌ |
retries |
Maximum number of retries trying to find the deployment. Note: Retries will be attempted every 5 seconds (default: 50) |
No ❌ |
wait |
Sleep time between retries to find Render deployments statuses (default: 8000 [8 seconds]) |
No ❌ |
name: Render
on: [pull_request]:
jobs:
deploy:
name: Wait for Deploy
runs-on: ubuntu-latest
steps:
- name: Wait for Render Deployment
uses: bounceapp/[email protected]
with:
render-token: ${{ secrets.RENDER_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
service-id: srv-xxxxxxxxxxxxxxxxxxxx
retries: 20
wait: 16000
sleep: 30000
Actions are run from GitHub repos so we will checkin the packed dist folder.
Then run ncc and push the results:
$ npm run all
$ git add dist
$ git commit -a -m "prod dependencies"
$ git push origin releases/v1
See the versioning documentation