Skip to content

Deploy to Render via CI

Actions
Deploy your applications to Render.com with automated status tracking and GitHub integration
v1.0.7
Latest
Starย (0)

๐Ÿš€ Render Deploy

GitHub Super-Linter CI License: MIT

A GitHub Action to automate deployments to Render.com services. This action allows you to trigger deployments and manage your Render services directly from your GitHub workflows.

Features

  • ๐Ÿš€ Trigger deployments to Render.com services
  • ๐Ÿ”„ Automated deployment status tracking
  • ๐Ÿ’ฌ GitHub deployment comments integration
  • ๐Ÿ”’ Secure API key handling
  • โšก๏ธ Fast Node.js runtime with minimal dependencies

Prerequisites

  1. A Render API key (get it from your Render Dashboard)
  2. Your Render service ID (found in the service URL or settings)

Inputs

Input Description Required
RENDER_API_KEY ๐Ÿ”‘ Your Render API key Yes
RENDER_SERVICE_ID ๐Ÿ†” The ID of the Render service to deploy Yes
WAIT_FOR_DEPLOYMENT ๐Ÿ”„ Wait for deployment to complete (bool) No

Outputs

Output Description
status ๐Ÿ“Š The deployment status. Possible values:
- created
- build_in_progress
- update_in_progress
- live
- deactivated
- build_failed
- update_failed
- canceled
- pre_deploy_in_progress
- pre_deploy_failed

Example Workflow

name: Deploy to Render
on:
  push:
    branches:
      - main

permissions:
  contents: write
  pull_requests: write

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Deploy to Render
        uses: russdias/render-deploy@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          RENDER_API_KEY: ${{ secrets.RENDER_API_KEY }}
          RENDER_SERVICE_ID: ${{ secrets.RENDER_SERVICE_ID }}

Development

  1. Install dependencies:

    npm install
  2. Bundle the action:

    npm run all

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Deploy to Render via CI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Deploy your applications to Render.com with automated status tracking and GitHub integration
v1.0.7
Latest

Deploy to Render via CI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.