Skip to content

New Display Modes options #110

New Display Modes options

New Display Modes options #110

Workflow file for this run

name: Announcements
on:
release:
types: [published]
jobs:
synthesis:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Discord Notification"
run: |
curl \
-H "Content-Type: application/json" \
-d '{
"username": "mattpannella",
"avatar_url": "https://avatars.githubusercontent.com/u/4806679",
"content": "Bark bark, motherfuckers. A new version of Pupdate is available.",
"embeds": [{
"color": 4819409,
"title": "${{ github.event.release.name }}",
"fields": [
{ "name": "Release Notes", "value": "[Click Me](https://github.com/mattpannella/pupdate/releases/tag/${{ github.event.release.tag_name }})", "inline": true },
{ "name": "Version", "value": "${{ github.event.release.tag_name }}", "inline": true },
{ "name": "macOS Build", "value": "[Download Me](https://github.com/mattpannella/pupdate/releases/download/${{ github.event.release.tag_name }}/pupdate_mac.zip)" },
{ "name": "Linux Build", "value": "[Or Me](https://github.com/mattpannella/pupdate/releases/download/${{ github.event.release.tag_name }}/pupdate_linux.zip)" },
{ "name": "Linux ARM64 Build", "value": "[This is for creeps](https://github.com/mattpannella/pupdate/releases/download/${{ github.event.release.tag_name }}/pupdate_linux_arm.zip)" },
{ "name": "Windows Build", "value": "[This is a virus](https://github.com/mattpannella/pupdate/releases/download/${{ github.event.release.tag_name }}/pupdate_win.zip)" }
]
}]
}' \
${{ secrets.DISCORD_WEBHOOK }}