Skip to content

A Github Action for trigging a deploy of a Render service.

Notifications You must be signed in to change notification settings

johnbeynon/render-deploy-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Render Deploy action

This action triggers a Render deploy.

Inputs

service-id

Required The serviceID of the Render service to trigger the deploy on. When viewing a service in the Render dashboard grab this value from the URL - it will start with srv-

api-key

Required Render API key

wait-for-success

Optional When true job will pend untill the deployment get to the status live

Example usage

Use GitHub Action secrets to set the values of service-id and api-key and then add to your workflow with:

name: My Deploy

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Deploy to production
        uses: johnbeynon/[email protected]
        with:
          service-id: ${{ secrets.MY_RENDER_SERVICE_ID }}
          api-key: ${{ secrets.MY_RENDER_API_KEY }}
          wait-for-success: true

About

A Github Action for trigging a deploy of a Render service.

Resources

Stars

Watchers

Forks

Packages

No packages published