Skip to content

Commit

Permalink
Release Discord Webhook test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyan-2048 committed Dec 14, 2022
1 parent 283907a commit 5e78ae0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ jobs:
- name: discord webhook
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
APP_VERSION: ${{ env.app_version }}
run: |
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"New Discord4KaiOS release\"}" $DISCORD_WEBHOOK_URL
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\":\"\",\"username\":\"Update\",\"embeds\":[{\"title\":\"New version: **$APP_VERSION**\",\"description\":\"[Source Code](https://github.com/cyan-2048/Discord4KaiOS/archive/refs/tags/$APP_VERSION.zip)\\n\\n**Download**:\\n[OmniSD](https://github.com/cyan-2048/Discord4KaiOS/releases/download/$APP_VERSION/omnisd.zip)\\n[WebIDE](https://github.com/cyan-2048/Discord4KaiOS/releases/download/$APP_VERSION/application.zip)\\n[manifest.webapp](https://github.com/cyan-2048/Discord4KaiOS/releases/download/$APP_VERSION/manifest.webapp)\",\"author\":{\"name\":\"Discord4KaiOS\",\"url\":\"https://github.com/cyan-2048/Discord4KaiOS/\",\"icon_url\":\"https://raw.githubusercontent.com/cyan-2048/Discord4KaiOS/main/public/css/56px.png\"}}]}" $DISCORD_WEBHOOK_URL
2 changes: 1 addition & 1 deletion src/assets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.10",
"version": "2.0.11",
"name": "Sveltecord",
"description": "Discord Client for KaiOS written in svelte.",
"launch_path": "/index.html",
Expand Down

0 comments on commit 5e78ae0

Please sign in to comment.