diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 965f616..56e0ac0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,4 +22,16 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} - run: npm publish --access public env: - NPM_TOKEN: ${{secrets.CODEX_SDK_NPM_TOKEN}} \ No newline at end of file + NPM_TOKEN: ${{secrets.CODEX_SDK_NPM_TOKEN}} + + - name: Notify Discord + uses: SethCohen/github-releases-to-discord@v1 + with: + webhook_url: ${{secrets.DISCORD_WEBHOOK_URL}} + color: "2105893" + username: "Codex SDK Release" + avatar_url: "https://avatars.githubusercontent.com/u/175457154?s=200&v=4" + content: "🚀 New SDK release is now available!" + footer_title: "Codex SDK Changelog" + reduce_headings: true + remove_github_reference_links: false