diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..d767737 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,25 @@ + +name: CD + +on: + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" + +env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPO: ${{ github.repository }} + +jobs: + release_github: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Create GitHub Release + run: | + gh release create ${{ github.ref_name }} \ + -R $REPO \ + --title "Release ${{ github.ref_name }}" \ + --generate-notes diff --git a/README.md b/README.md index 83b89cb..001055a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # mod_openai_audio_stream ![Build & Static Code Checks](https://github.com/VoiSmart/mod_openai_audio_stream/actions/workflows/checks.yml/badge.svg?branch=main) +[![License: MIT](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE) **mod_openai_audio_stream** is a FreeSWITCH module that streams L16 audio from a channel to an OpenAI Realtime WebSocket endpoint. The stream follows OpenAI's Realtime API specification and enables real-time audio playback directly in the channel.