Manage staging and production environment

Hi,

My goal is:

  • To use the same agent codebase

  • Deploy it in agent-1 as a staging environment

  • Deploy the same code in **agent-2 as a production environment
    **
    could you please share a sample GitHub Actions .yml configuration to automatically deploy my LiveKit agent when changes are merged into the integration or prod branches?

For example, something like:

name: Trigger Staging Pipeline

on:
  push:
    branches:
      - integration

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [20.x]
    steps:

I’d appreciate guidance on the recommended deployment setup for LiveKit.

I knew we had something like this somewhere… please see this guide: Deploy LiveKit Agents with GitHub Actions | LiveKit

1 Like