Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/deploy-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on:
branches:
- production # We are using production branch for the agent deployment! But you maybe need to change it to main for your own use case.
paths:
- 'agent/**'
- '.github/**/*.yml'
- "agent/**"
- ".github/**/*.yml"
workflow_dispatch:
inputs:
operation:
description: 'Operation to perform'
description: "Operation to perform"
required: true
type: choice
options:
- deploy
default: 'deploy'
default: "deploy"

jobs:
deploy:
Expand All @@ -28,6 +28,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Create temporary livekit.toml
run: |
cat > agent/livekit.toml << 'EOF'
[project]
subdomain = "demo-agents-omk31qjj"

[agent]
id = "CA_Vwiih8UDHpW6"
EOF
echo "✅ Created temporary livekit.toml for deployment"
cat agent/livekit.toml

- name: Deploy LiveKit Cloud Agent
if: github.event_name == 'push' || github.event.inputs.operation == 'deploy'
uses: livekit/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
.DS_Store
.env
.env.local
livekit.toml