Skip to content

fix: added logging of database url being connected to #54

fix: added logging of database url being connected to

fix: added logging of database url being connected to #54

Workflow file for this run

name: Notifications
on:
push:
branches: [main]
jobs:
notification:
if: ${{ github.repository_owner == 'WaspScripts' }}
runs-on: ubuntu-latest
steps:
- name: Discord notification
shell: bash
run: |
BODY=$(jq -nc \
--arg title "Website Update" \
--arg desc "${{ github.event.head_commit.message }}" \
--arg url "https://github.com/WaspScripts/wasp-webapp/commit/${{ github.event.head_commit.id }}" \
--arg foot "Author: ${{ github.event.head_commit.author.name }}" \
--argjson color 16742912 \
'{embeds:[{title:$title,description:$desc,url:$url,color:$color,footer:{text:$foot}}]}')
curl \
-H "Content-Type: application/json" \
-d "$BODY" \
${{ secrets.UPDATES_WEBHOOK }}