Update livekit configuration for production and remove prewarm VAD lo… #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy LiveKit Agent | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "livekit-agent/**" | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: livekit-agent | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install LiveKit CLI | |
| run: | | |
| curl -sSL https://get.livekit.io/cli | bash | |
| echo "$HOME/.local/bin" >> $GITHUB_PATH | |
| - name: Configure LiveKit project | |
| run: | | |
| lk project add deploy \ | |
| --url "${{ secrets.LIVEKIT_URL }}" \ | |
| --api-key "${{ secrets.LIVEKIT_API_KEY }}" \ | |
| --api-secret "${{ secrets.LIVEKIT_API_SECRET }}" \ | |
| --default | |
| - name: Deploy agent | |
| run: lk agent deploy |