Download .github/workflows/notify-discord.yml from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/.github/workflows/notify-discord.yml
- Command line
-
hf download hf://SaylorTwift/opencode/.github/workflows/notify-discord.yml
-
curl -L -o notify-discord.yml https://huggingface.co/SaylorTwift/opencode/resolve/main/.github/workflows/notify-discord.yml
394 Bytes
| name: notify-discord | |
| on: | |
| release: | |
| types: [released] # fires when a draft release is published | |
| jobs: | |
| notify: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - name: Send nicely-formatted embed to Discord | |
| uses: SethCohen/github-releases-to-discord@24d166886aee4646d448c8a389ff9e1ebcab3682 # v1.20.0 | |
| with: | |
| webhook_url: ${{ secrets.DISCORD_WEBHOOK }} | |